@font-face { 
    font-family: 'Open Sans';
    src: url('./OpenSans-Regular.ttf') format('truetype');
}
@font-face { 
    font-family: 'Open Sans Condensed';
    src: url('./OpenSansCondensed-Bold.ttf') format('truetype');
}

html {
    -ms-text-size-adjust:100%;
    -webkit-text-size-adjust:100%
}

body, html {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0px;
    background-color: white;
    font-size: 14px !important;
}

h1, h2, h3 {
    font-family: 'Open Sans Condensed', sans-serif;
}

.rlogo {
    display: inline-block;
    width: 4em;
    border: 0;
    background-image: url("./img/logo.png");
    background-repeat: no-repeat;
    background-size: contain;
    height: 1.4em;
    vertical-align: middle;
    margin: 0 0 0.2em 0;
}

.rheader {
    text-align: center;
    background-color: rgb(76, 112, 181);
    position: sticky;
    display: block;
    top: 0;
    border-bottom: 2px solid rgb(67, 90, 112);
    box-shadow: 0 1em 1em #00000038;
    z-index: 50000;
}

.rheader p {
    font-size: 2em;
    padding: 5px 0 0 0;
    margin: 0;
    color: white;
}

div#content.rcontent {
    background-color: rgb(255, 255, 255);
}

.rcenter {
    margin: auto 20px;
}

@keyframes showNav {
    from {opacity: 0;}
    to {opacity: 1;}
  }

.prtError, .prtNote {
    color: white;
    padding: 20px;
    background-color: #9e0909;
    box-shadow: 5px 5px 10px #777;
    animation: showNav 500ms ease-in-out both;
    margin: 5px 0 2em 0;
}

.prtNote {
    color: inherit;
    background-color: #e4e020;
    padding: 5px;
}

.pointer {
    cursor: pointer;
}

.breadcrumb {
	/*centering*/
	display: inline-block;
	box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.35);
	border-radius: 5px;
    margin: 0 0 1em 0;
    position: relative;
}

.breadcrumb .bread {
	text-decoration: none;
	outline: none;
	display: block;
	float: left;
	line-height: 36px;
	/*need more margin on the left of links to accomodate the numbers*/
	padding: 0 10px 0 30px;
	position: relative;
    background: white;
	color: black;
	transition: all 0.5s;
}
/*since the first link does not have a triangle before it we can reduce the left padding to make it look consistent with other links*/
.breadcrumb .bread:first-child {
	padding-left: 16px;
	border-radius: 5px 0 0 5px !important; /*to match with the parent's radius*/
}
.breadcrumb .bread:first-child:before {
	left: 14px;
}
.breadcrumb .bread:last-child {
	border-radius: 0 5px 5px 0; /*this was to prevent glitches on hover*/
	padding-right: 20px;
}

/*hover/active styles*/
.breadcrumb .bread.active, .breadcrumb .bread:hover{
	background: #333;
	background: linear-gradient(#333, #000);
}
.breadcrumb .bread.active:after, .breadcrumb .bread:hover:after {
	background: #333;
	background: linear-gradient(135deg, #333, #000);
}

/*adding the arrows for the breadcrumbs using rotated pseudo elements*/
.breadcrumb .bread:after {
	content: '';
	position: absolute;
	top: 0; 
	right: -18px; /*half of square's length*/
	/*same dimension as the line-height of .breadcrumb a */
	width: 36px; 
	height: 36px;
	/*as you see the rotated square takes a larger height. which makes it tough to position it properly. So we are going to scale it down so that the diagonals become equal to the line-height of the link. We scale it to 70.7% because if square's: 
	length = 1; diagonal = (1^2 + 1^2)^0.5 = 1.414 (pythagoras theorem)
	if diagonal required = 1; length = 1/1.414 = 0.707*/
	transform: scale(0.707) rotate(45deg);
	/*we need to prevent the arrows from getting buried under the next link*/
	z-index: 1;
	/*background same as links but the gradient will be rotated to compensate with the transform applied*/
	background: white;
	/*stylish arrow design using box shadow*/
	box-shadow: 
		2px -2px 0 2px rgba(0, 0, 0, 0.4), 
		3px -3px 0 2px rgba(255, 255, 255, 0.1);
	/*
		5px - for rounded arrows and 
		50px - to prevent hover glitches on the border created using shadows*/
	border-radius: 0 5px 0 50px;

	color: black;
	transition: all 0.5s;
}
/*we dont need an arrow after the last link*/
.breadcrumb .bread:last-child:after {
	/* content: none; */
}

.breadcrumb .bread:before {
	background: white;
	box-shadow: 0 0 0 1px #ccc;
}
.breadcrumb  .bread:hover, .breadcrumb  .bread.active, 
.breadcrumb  .bread:hover:after, .breadcrumb  .bread.active:after{
	background: #9EEB62;
}

.rSubmenu {
    visibility: hidden;
    background-color: white;
    border: 0;
    border-radius: 5px;
    position: absolute;
    z-index: 50000;
    top: 36px;
    padding: 5px 20px 5px 20px;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.35);
    text-align: left;
    opacity: 0;
    line-height: 2em;
    transition: opacity 0.25s linear;
    white-space: nowrap;
}

.shown {
    opacity: 1;
    visibility: visible;
}

/* Menu Blocks */

.positioningBorder, .positioningBorderWide {
    border: 0px solid blue;
    float: left;
    width: 20em;
    max-width: 20em;
    min-width: 20em;
    margin: 0;
    padding: 0.75em;
}

.positioningBorderWide {
    width: 100%;
    max-width: 41.5em;
}

.mainMenu, .subMenu {
    border: 0;
    margin: 0;
    padding: 0.75em;
    background-color: #d1e4dd;
    border-radius: 0.4em;
    transition: background-color 0.5s ease;
}

.subMenu:hover {
    background-color: #c1d4cd;
}

.subMenu {
    cursor: pointer;
}

.subMenu p {
    margin-bottom: 0;
}

.linksBlock {
    border: 0px solid red;
}

.linksBlock a:first-of-type {
    font-weight: bold;
    font-size: 108%;
}

.languages {
    margin-bottom: 0.1em;
    position: fixed;
    z-index: 50100;
    top: 0.5em;
    right: 1.5em;
    line-height: 1.5em;
    background-color: rgb(76, 112, 181);
    box-shadow: -0.5em 0 0.5em rgb(76, 112, 181);
}

.languages a {
    color: white;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 1.5em;
    padding-left: 1.75em;
    margin-right: 1em;
}

.languages a:hover {
    color: #e0e9ff;
    text-decoration: underline;
}

a#french {
    background-image: url("./img/FR.svg");
}

a#german {
    background-image: url("./img/DE.svg");
}


/* Doxygen control */

#doc-content {
    overflow: hidden !important;
    height: auto !important;
}

a {
    text-decoration: underline !important;
}

@media only screen and (min-width:768px){

#side-nav {
    margin-top: 0 !important;
    background-color: #f8f8f7;
    position: fixed !important;
    width: 15em;
    left: 20px !important;
    top: auto !important;
    border-right: 1px solid #efefed;
    border-top-width: 0 !important;
    border-bottom-width: 0 !important;
    z-index: 1000;
    padding: 1.25em 1em;
    height: 100% !important;
    overflow: auto;
}

}

/* regify product icons */

h2 {
    font-size: 1.3em;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}

h2.icoDocument,
h2.icoRegibox, 
h2.icoRegimail, 
h2.icoRegipay, 
h2.icoRegibill,
h2.icoRegify,
h2.icoregipay, 
h2.icoregibill,
h2.icoregimail {
    padding-left: 1.6em;
}

h2.icoDocument:before,
h2.icoRegibox:before, 
h2.icoRegimail:before, 
h2.icoRegipay:before, 
h2.icoRegibill:before, 
h2.icoRegify:before,
h2.icoregipay:before, 
h2.icoregibill:before,
h2.icoregimail:before{
    background-size: 1.5em;
    background-repeat: no-repeat;
    display: block;
    width: 1.7em;
    height: 1.7em;
    content: "";
    position: absolute;
    margin-left: -1.7em;
    margin-top: 0;
}

h2.icoDocument:before { background-image: url('./img/document.png'); }
h2.icoRegibox:before { background-image: url('./img/regibox.png'); }
h2.icoRegify:before { background-image: url('./img/regify.png'); }
h2.icoRegimail:before, h2.icoregimail:before { background-image: url('./img/regimail.png'); }
h2.icoRegibill:before, h2.icoregibill:before { background-image: url('./img/regibill.png'); }
h2.icoRegipay:before, h2.icoregipay:before { background-image: url('./img/regipay.png'); }
