body {
	background-color: #E5E5E5;
	background-image: url("/img/background.gif");
	font-family: roboto, sans-serif;
	font-size: 16px;
	color: #404040;
	margin: 0;
	padding: 0;
}

a { color: #284ad2; text-decoration: none;}
a:hover { text-decoration: underline; }

.shadow {
  box-shadow: 2px 2px 10px rgba(50, 50, 50, 0.3);
}

#page { 
	margin: 0px auto;
	padding: 0;
	max-width: 920px;
	text-align: left;
	background-color: white;
  border-right: 1px solid #d9d9d9;
  border-left: 1px solid #d9d9d9;
}

#pagecontents { padding: 20px; font-size: 15px; color: #707060; min-height: 75vh;}

h1 { font-size: 32px; text-transform: uppercase;}
h2 { font-size: 28px; }
h3 { font-size: 22px; }
b, th { color: #454035; }

img { max-width: 100%; height: auto; }

.promo { color: #333333; background-color: #ffb634; padding: 5px;}

#ratitle {
    padding: 20px 0 0 20px; float: left;
	font-family: 'Poppins', tahoma, sans-serif;
	font-size: 20pt;
	color: #707060;
	}

#ratitle a { color: #707060; text-decoration: none; }
#langswitch {
	text-align: right;
	padding: 5px;
	padding-top: 50px;
	font-family: roboto, sans-serif;
	font-size: 14px;
	}
#langswitch a {color: black; text-decoration: underline;}

#headermenu {
	min-height: 25px;
    background: linear-gradient(#6c85b4, #314f87);
	font-family: 'Poppins', tahoma, sans-serif;
	font-size: 16px;
	box-shadow: 0px 0px 6px rgba(50, 50, 50, 0.8);
	position: relative; left: 0; top: 0;
	padding: 5px;
    z-index: 10;
}
	
#headermenu a { color: white; padding: 6px 12px;
                text-decoration: none; display: inline-block; border-radius: 6px; }
#headermenu a:hover { text-decoration: underline; background-color: rgba(255,255,255,0.1);}
#headermenu a.sel { text-decoration: none; background-color: rgba(255,255,255,0.2); }

#dowloadscreen {
	position: relative; left: 0; top: 0;
	width: 100%; height: 280px;
	margin-bottom: 30px;
	background-image: url("/img/dlbkg.png");
	}
#dowloadscreen a { color: #693601; text-decoration: underline; }
#dowloadscreen a:hover { color: black; }

#title_parent {
  position: relative; left: 5px; top: 24px; width:350px;
}

#dl_ralogo { position: relative; left: 0px; top: 10px;} /* inside #title_parent */
#dl_title {
	position: relative; left: 5px; top: 0px;
	font-size: 25pt; color: #656565; font-family: tahoma, sans-serif;
	}

@media screen and (min-width: 500px) {  /* normal size and position */
 #title_parent { left: 24%; }
 #dl_title { left: 15px; font-size: 28pt; }
}

#download_parent {
  position: absolute;	/* defines new coordines origin */
  right: 0px; top: 0; 
  width: 626px;			/* at shrinked state (window under 500px) */
}

#dlbkg_end { position: absolute; right: 0px; top: 128px; display: none;}

@media screen and (min-width: 500px) {  /* normal size and position */
 #download_parent { float: right; width: 696px;}
 #dlbkg_end { display: block; }
}
 
#dlbox { 
	position: absolute; left: 333px; top: 88px;
	width: 271px; height: 123px;
	border: 3px solid #ff9624;
	border-radius: 9px;
	background-image: url("/img/downloadbox_grad123.png");
	}
#dlbox_win, #dlbox_win64, #dlbox_osx, #dlbox_linux, #dlbox_ipad {
  position: absolute; left: 333px; top: 88px;
	width: 271px;
	font-family: roboto, arial, sans-serif;
	color: #693601;
	line-height: 80%; 
  }
  
#dlbox_dl { position: relative; left: 12px; top: 32px; font-size: 17pt;}
#dlbox_dl a { text-decoration: underline; padding: 4px;}
#dlbox_dl a:hover { color: #693601; text-decoration: underline; }
#dlbox_ver, #dlbox_verno { font-size: 16pt; color: #bf2401; }
#dlbox_note { position: relative; left: 16px; top: 40px; font-size: 12px; font-family: tahoma, sans-serif;}
#dlbox_alt { position: relative; left: 16px; top: 50px; font-size: 11pt;}

#dl_note {
	position: absolute; left: 16px; top: 135px;
	font-size: 12px; color: #56648a; font-family: tahoma, sans-serif;
	}
#dlbox_platform { position: relative; left: 16px; top: 12px; font-size: 10pt;}
#dl_appstorelogo { position: relative; left: 65px; top: 45px;}

#dl_subtitle { position: absolute; left: 65px; top: 85px; font-size: 12pt; color: #707070; text-transform: none; font-weight: normal; display:none;}
#dl_subtitle_alt { font-size: 13pt; font-style: italic; color: #707070; margin: 0 10px 30px 10px; }
#dl_subtitle_alt p { margin-top: 0px; }

@media screen and (min-width: 660px) {  /* normal size and position */
 #dl_subtitle { display: block; }
 #dl_subtitle_alt { display: none; }
}

.tabpane, .tabpaneW, .tabpaneB {
	border: 1px solid #e6e6e6;
	padding: 20px;
}
.tabpane  { background-color: #f0f0f0; }
.tabpaneW { background-color: #fcfcfc; }
.tabpaneB { background-color: #e3e3e3; }
.tabpane img, .tabpaneW img, .tabpaneB img { margin: 10px; }
 
.smallboxes {
    display: flex;
	flex-flow: row wrap;
	justify-content: center;
	gap: 10px 20px;
}
.smallboxes div {
	background-color: #f0f0f0;
	font-size: 13px;
	max-width: 200px;
	padding: 15px 20px;
	border-radius: 19px;
	}

.smallboxes h3 { font-size: 20px; margin-top: 2px; color: #454035; }

input[type="text"], input[type="email"], textarea {
    border: 1px solid #6c85b4;
    border-radius: 8px;
    font-size: 14px;
    font-family: roboto, sans-serif;
    padding: 5px;
}
input[type="submit"], button {
    color: white;
    font-size: 17px;
    padding:10px 13px; 
    background-color: #5571a5;
    border: none;
    border-radius: 6px; 
    cursor: pointer;
}
input[type="submit"]:hover, button:hover {
    background-color: #314f87;
    transition: 0.2s;
}
input[type="submit"]:disabled, button:disabled {
    color: #808080;
    background-color: #eeeeee;
}
button.buy {
    font-size: 22px;
    background-color: #f68223;
}
button.buy:hover {
    background-color: #f79240;
}

footer { text-align: center; font-family: roboto, tahoma; font-size: 13px; background-color: #f6f6fa;
  margin-top: 20px; padding: 10px 0 20px 0;
  border-top: 1px solid #d0d0d0;
  clear: both;
}

table.shadetable {
	padding: 1px;
	border-spacing: 0px;
	background-color: #fcfcfc;
	border: 1px solid #6c85b4;
	box-shadow: 2px 2px 10px rgba(50, 50, 50, 0.3);
}
table.shadetable thead { background-color: #f0f0ff; }
table.shadetable th { padding: 7px; }
table.shadetable td { border-top: 1px solid #d0d0ff; padding: 4px 15px;}

.price1 { font-size: 18px;}
.price-total { font-size: 11px;}
button.currency { font-size: 12px; margin: 4px 0px; padding: 4px 6px;}

div.gallery {
  max-width: 750px;
	padding: 8px;
	background-color: #f0f0f0;
	border: 1px solid #d0d0d0;
	margin-top: 20px;
	border-radius: 6px;
	box-shadow: 2px 2px 10px rgba(50, 50, 50, 0.2);
	font-size: 14px;
}
div.gallery div { padding: 4px; }
div.gallery div.galdl { float: right; padding: 0px; }
div.gallery div.galdl a {
    margin: 2px;
    color: white;
    padding: 5px 8px; 
    background-color: #5571a5;
    border-radius: 20px; 
}
div.gallery div.galdl a:hover {
    background-color: #314f87;
    transition: 0.2s;
}

.awards {
    display: flex;
	flex-flow: row wrap;
	justify-content: center;
	gap: 30px;
	padding: 10px;
}
.awards div { align-self: flex-end; min-width: 200px; max-width: 280px; text-align: center; font-size: 14px; }
.awards img { border: 0px; padding-bottom: 8px;}

/* for resizing video to responsive layout */
.videoWrapper {
	position: relative;
	/*padding-bottom: 56.25%;*/ /* 16:9 */
	/*padding-bottom: 58.5%;*/ /* 4:3 */
	padding-top: 25px;
	margin: 0px auto;
	height: 312px;
	width: 600px;
}
@media screen and (max-width: 660px) { .videoWrapper { padding-bottom: 52%; width: 100%; height: 0; }}

.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.roomscan-scrolly {
  /* Height > 100vh creates a "scroll span" where the pin is fixed */
  height: 140vh;           /* tweak this to change how much scroll drives the fade */
  position: relative;
}

/* This stays fixed while you scroll through .scrolly */
.roomscan-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f0f0f0;     /* optional backdrop */
}

/* Overlap layout */
.roomscan-image-container {
  position: relative;
  width: 100%;
  height: min(60vh, 700px);
  margin: 0 auto;

  /* JS will update these CSS variables [0..1] */
  --rightOpacity: 0;
  --leftOpacity: 1;
}

.roomscan-image {
  position: absolute;
  width: 75%;
  top: 50%;
  will-change: opacity;
  transition: opacity 0.06s linear; /* smooth while scrolling */
}

/* Left-aligned first image is on bottom initially (fully visible) */
.roomscan-image-left {
  left: 0;
  transform: translateY(-85%);
  z-index: 2;
  opacity: var(--leftOpacity);
}

/* Right-aligned second image fades in on scroll */
.roomscan-image-right {
  right: 0;
  transform: translateY(-15%);
  z-index: 3;              /* on top once it appears */
  opacity: var(--rightOpacity);
}

@media screen and (max-width: 850px) { .main_screenshot { width: 100%; height: auto; clear:both; } }

img.appthumbnail        { max-width:100%; height: auto; margin: 20px auto; display:block; clear:both; }
img.appthumbnail_tablet { max-width:100%; height: auto; margin: 20px auto; display:block; clear:both; }
@media screen and (min-width: 600px) { img.appthumbnail        { float: right; width: initial; height: auto; margin: 20px; }}
@media screen and (min-width: 800px) { img.appthumbnail_tablet { float: right; width: initial; height: auto; margin: 20px; }}
