:root {

/*
--main-bgcolor: #ffffff;
--main-bgcolor1: #ffffff;
--main-bgcolor2: #ffffff;
*/

--main-bgcolor: #11416e;
--main-bgcolor1: #2676be;
--main-bgcolor2: #11416e;

    --header-bgcolor: rgba(0,0,0,0.3);
    --header-color: white;
    --header-link-color: white;
    --header-link-span-color: white;
    --header-link-hover-color: white;
    --header-button-color: black;
    --header-button-bgcolor: #e0e0f0;
    --header-button-bordercolor: #2676be;

    --footer-bgcolor: rgba(0,0,0);
    --footer-color: white;
    --footer-link-color: white;
    --footer-easeparator-bordercolor: white;

    --ss-even: #ffffff;
    --ss-odd: #f0f0f0;
}

:root, :root * {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

@font-face {
    font-weight: 400;
    font-family: SegoeUI;
    src: local("Segoe UI"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.woff2) format("woff2"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.woff) format("woff"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.ttf) format("truetype");
}

body {
    font-family: 'Montserrat';
    font-size: 14px;
    background-color: var(--main-bgcolor);
    background: linear-gradient(315deg, var(--main-bgcolor1), var(--main-bgcolor2)); 
    background-repeat: no-repeat; 
    background-attachment: fixed;
}

button { font-family: 'Montserrat'; }

#main {
    position: absolute;
    top: 0px;
    left: 0px;
    font-size: 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/*********************** Header  ******************************/

#header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 64px;
    background-color: var(--header-bgcolor);
    color: var(--header-color);
    padding: 5px 10px;
    font-size: 14px;
    display: flex;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}
#header a {
    color: var(--header-link-color);
    text-decoration: none;
}
#header a:hover {
    color: var(--header-link-hover-color);
    text-decoration: underline;
}
#header a span {
    color: var(--header-link-span-color);
    text-decoration: none;
    font-size: 24px;
    position: relative;
    top: 2px;
}
#header button {
    font-weight: 600;
    color: var(--header-button-color);
    background-color: var(--header-button-bgcolor);
    border: 1px solid var(--header-button-bordercolor);
    border-radius: 2px;
    padding: 2px 20px;
    margin-right: 24px;
}
#header button span {
    font-size: 14px;
    position: relative;
    top: 2px;
    left: -10px;
}

.simple_button {
    margin: 15px 2px 0px;
    padding: 5px 15px;
}

.iOS_button {
    background-color: #e9e9e9;
    color: #3e7fe3;
    border-radius: 15px;
    border: 1px solid white;
}

.iOS_button:hover {
    border: 1px solid #3e7fe3;
}

/*********************** Content *********************************/

#content {
    margin-top: 65px;
    margin-bottom: 40px;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.input-container {}
.input-container .hint { display: none; }
.input-container:focus-within .hint{
    position: relative;
    top: -4px;
    left: 30px;
    color: #006bbe; 
    background-color: transparent;
    height: 8px;
    font-size: 8px;
    width: auto;
    display: inline-block;
    font-family: 'Segoe UI';
}
.input-container:focus-within input[type="text"], .input-container:focus-within input[type="email"], .input-container:focus-within input[type="password"] {
    padding-top: 12px !important;
}

ul.terms-lo>li {
    margin-top: 1vh;
}

.terms ul a {
    color: white;
    text-decoration: underline;
}

/*********************** Login ***********************************/

#loginform {
    border: 0;
    border-radius: 10px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    color: #ffffff;
    display: inline-block;
    min-width: 430px;
    min-height: 240px;
    padding: 25px;
    transition: all 0.5s ease-in-out;
}

.fgpass {
    color: white;
    text-decoration: none;
}
.fgpass:hover { text-decoration: underline; }

#loginform select { /*    width: 252px; */ }
#loginform input[type="text"], #loginform input[type="email"], #loginform input[type="password"], #loginform select, #fgpass_email, .fgpass_newpw {
    padding: 4px 4px 4px 4px;
    outline: none;
    font-family: 'Segoe UI';
    font-size: 14px;
    border-radius: 4px;;
    border: 2px solid silver;
    width: 240px;
}
#loginform input:focus {
    border: 2px ridge #2676be;
    box-shadow: 0px 0px 2px 0px  #ffffff;
}
#loginform input[type="checkbox"] {
    padding: 4px 4px 4px 4px;
    outline: none;
    font-family: 'Montserrat';
    font-size: 14px;
    border-radius: 4px;;
    border: 2px solid silver;
}
#loginform label {
    padding-right: 5px;
    min-width: 100px;
    text-align: left;
    display: inline-block;
    position: relative;
    top: 4px;
}
.password-reveal {
    position: absolute;
    right: 5px;
    bottom: -10px;
    color: #606080;
    cursor: pointer;
}
#loginform button, .fgpass_button {
    font-family: 'Montserrat';
    padding: 5px 30px;
    background-color: #bacdde;
    border: 1px solid black;
    border-radius: 3px;
}

#signupform {
    display: none;
    margin-top: 25px;
}

#pwc_1, #pwc_2 {
    top: -90px;
    display: none;;
    z-index: 1;
    font-size: 12px;
    font-weight: bold;;
    position: absolute;
    right: 0px;
    padding: 5px;
    background-color: #fffde2;
    border: 3px solid black;
    border-radius: 3px;
}
#pwc_1 { top: -90px; }
#pwc_2 { top: -35px; }
#pwc_1_1, #pwc_1_2, #pwc_1_3, #pwc_1_4, #pwc_2_1 {
    padding: 2px 5px;
    display: block;
}

/*********************** Footer   ******************************/

#footer {
    position: absolute;
    text-align: center;
    background-color: var(--footer-bgcolor);
    opacity: 0.6;
    color: var(--footer-color);
    font-weight: bold;
    font-size: 100%;
    width: 100%;
    left: 0;
    padding: 14px 0px;
    bottom: -1px;
    height: 40px;
}
#footer a {
    color: var(--footer-link-color);
    text-decoration: none;
}
#footer a:hover { text-decoration: underline; }
#footer-expand-icon {
    position: absolute;
    right: 32px;
    top: 8px;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}
#footer-magnify-icon {
    position: absolute;
    left: 32px;
    top: 8px;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}
#footer-magnify-info {
    display: inline-block;
    position: absolute;
    left: 0px;
    top: 14px;
    padding-left: 64px;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}
#footer-expanded-area {
    margin-top: 12px;
    padding: 16px 32px 32px 10px;
    font-weight: normal;
    font-size: 100%;
    width: 100%;
    border-top: 1px solid var(--footer-easeparator-bordercolor);
}
#footer-expanded-area ul {
    display: flex;
    justify-content: space-between;
    align-items: center;   
    list-style-type: none;
}
#footer-expanded-area ul li { padding: 5px; }
.footer-h1 {
    margin-top: 50px;
    margin-bottom: 20px;
}

/*********************** Calculator ******************************/

#header2 {
    display: none;
    background-color: #11416e;
    text-align: center;
    color: #ffffff;
    padding: 10px;
    position: relative;
    min-height: 80px;
    max-height: 128px;
/*    height: 150px; */
    font-weight: bold;
}

#brandicon {
    position: absolute;
    width: 64px;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
}

#header2 .brandtext {
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
#header2-infotext {
    font-size: 26px;
    color: antiquewhite;
    padding: 10px;
}

#inputform input[type="text"] { width: 190px; }

/*********************** Helpers ******************************/

.only-print { display: none !important; }
.center-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#blurhider {
    box-sizing: content-box;
    padding: 0;
    margin: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(50,50,40,0.5);
    backdrop-filter: blur(5px);
    display: none;
    z-index: 2000000000;    /* unsigned 32 bits max is 2 147 483 647 */
}
#blurhider-text {
    background-color: white;
    padding: 25px 50px;
    border-radius: 10px;
    text-align: center;
}
.loading-ring {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:150px;
  height:150px;
  background:transparent;
  border:3px solid #3c3c3c;
  border-radius:50%;
  text-align:center;
  line-height:150px;
  font-family:'Montserrat';
  font-size:14px;
  color:#fff000;
  letter-spacing:4px;
  text-shadow:0 0 10px #fff000;
  box-shadow:0 0 20px rgba(0,0,0,.5);
}
.loading-ring:before {
  content:'';
  position:absolute;
  top:-3px;
  left:-3px;
  width:100%;
  height:100%;
  border:3px solid transparent;
  border-top:3px solid #fff000;
  border-right:3px solid #fff000;
  border-radius:50%;
  animation:animateC 1s linear infinite;
}
.loading-ring span {
  display:block;
  position:absolute;
  top:calc(50% - 2px);
  left:50%;
  width:50%;
  height:4px;
  background:transparent;
  transform-origin:left;
  animation:animate 1s linear infinite;
}
.loading-ring span:before {
  content:'';
  position:absolute;
  width:16px;
  height:16px;
  border-radius:50%;
  background:#fff000;
  top:-6px;
  right:-8px;
  box-shadow:0 0 20px #fff000;
}
.bold { font-weight: bold; }
.uppercase { text-transform: uppercase; }
.center { text-align: center; }
.left { text-align: left; }
.right { text-align: right; }
.absolute { position: absolute; }
.relative { position: relative; }
.ib { display: inline-block; }
.white { color: white; }
.black { color: black; }
.red { color: red; }
.green { color: green; }
.w25 { width: 23%; }
.w50 { width: 15%; }
.w100 { width: 100%; }
.font-50 { font-size: 50%; }
.font-75 { font-size: 75%; }
.font-100 { font-size: 100%; }
.font-125 { font-size: 125%; }
.font-150 { font-size: 150%; }
.font-200 { font-size: 200%; }
.tab-5 { width: 5px; }
.tab-10 { width: 10px; }
.tab, .tab-15 { width: 15px; }
.tab-20 { width: 20px; }
.tab-25 { width: 25px; }
.rotate180 { transform: rotate(-180deg); }
.hidden { display: none !important; }
@keyframes animateC {
  0% { transform:rotate(0deg); }
  100% { transform:rotate(360deg); }
}
@keyframes animate {
  0% { transform:rotate(45deg); }
  100% { transform:rotate(405deg); }
}

/*********************** Data input **************************/

#inputform { display: block; }
#inputform select { /*    width: 252px; */ }

#inputform input[type="text"], #inputform input[type="email"], #inputform input[type="password"], #inputform select {
    padding: 4px 4px 4px 4px;
    outline: none;
    font-family: 'Segoe UI';
    font-size: 14px;
    border-radius: 4px;;
    border: 2px solid silver;
    width: 240px;
}

#inputform input:focus, #inputform select:focus {
    border: 2px ridge #2676be;
    box-shadow: 0px 0px 2px 0px  #ffffff;
}

#inputform input[type="checkbox"] {
    padding: 4px 4px 4px 4px;
    outline: none;
    font-family: 'Montserrat';
    font-size: 14px;
    border-radius: 4px;;
    border: 2px solid silver;
}

#inputform label {
    padding-right: 5px;
    min-width: 100px;
    text-align: left;
    display: inline-block;
    position: relative;
    top: 4px;
}

#inputform button {
    font-family: 'Montserrat';
    padding: 5px 30px;
    background-color: #bacdde;
}

.time-container-clock { justify-content: space-evenly !important; }

.tempus-dominus-widget { width: 240px !important; }
#ui-datepicker-div { width: 240px !important; }
.pac-icon-marker { margin: 4px; }
.pac-item-query {
    padding: 4px;
    margin: 2px;
}

/*********************** Calculation *************************/

#calculation { display: none; }

.ad-container {
/*
    border: 2px ridge #202020;
    border-radius: 5px;
    background-color: #404040 !important;
*/
    color: #c0c0c0 !important;
    font-size: 115%;
    text-align: center;
    vertical-align: middle;
    min-height: 200px;
    width: 100%; 
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

#ad-container-image {
    max-width: 100%;
    max-height: 300px;
}


#main_firstrow {
    display: flex;
}
#main_firstrow_sub1 {
    display: inline-block;
}
#main_firstrow_sub2 {
    display: flex;
}


.personal-data {
    margin-top: 0px;
    background-color: white;
    color: black;
}

.pdata-container {
    min-height: 200px; 
    width: 35%;
}

.header-personal-data {
    /*background-color: #b7d9f8;*/
    font-weight: bold;
    padding: 5px;
    /*border-top: 1px solid black;*/
}

.content-personal-data {
    padding: 0px;
    vertical-align: top;
}

.content-personal-data2 {
    padding: 0px;
    vertical-align: top;
}

.content-personal-data2 .item_name, .content-personal-data2 .item_value {
    display: inline-block;
    width: 49%;
    vertical-align: top;
}

.content-personal-data2 .item_name {
    text-align: right;
    padding-right: 20px;
    position: relative;
    top: 2px;
}

.item_name {
    margin: 5px auto 5px 10px;
    font-weight: bold;
    font-size: 80%;
    color: #606080;
}

.item_value {
    margin: 5px auto 5px 30px;
    font-size: 125%;
}

.dc-fullborder {
    border: 1px solid silver;
}
.dc-x {
    width: 10%;
}
.dc-x-0 {
    text-align: center;
    font-weight: bold;
    background-color: #b7d9f8;
    color: black;
    padding: 2px;
}
.dc-x-1 {
    position: relative;
    padding: 5px;
    min-height: 100px;
}
.dc-x-1-others {
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 90%;
    text-align: left;
    font-weight: bold;
}
.dc-x-1-icon {
    text-align: center;
    position: absolute;
    left: 0;
    top: 25px;
    width: 100%;
}
.dc-x-1-caption {
    font-size: 100%;
    text-align: center;
    font-weight: bold;
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
}
.dc-x-2 {
    position: relative;
    padding: 5px;
    min-height: 100px;
}
.dc-x-2-others {
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 90%;
    text-align: left;
    font-weight: bold;
}
.dc-x-2-others2 {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 90%;
    text-align: right;
}
.dc-x-2-icon {
    text-align: center;
    position: absolute;
    left: 0;
    top: 25px;
    width: 100%;
}
.dc-x-2-caption {
    font-size: 100%;
    text-align: center;
    font-weight: bold;
    position: absolute;
    left: 0;
    bottom: 20px;
    width: 100%;
}
.dc-x-2-caption2 {
    font-size: 90%;
    text-align: center;
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
}

.dc-x-3 {
    padding: 5px 1px;
}

.dc-x-4 {
    padding: 5px;
    font-size: 65%;
    font-weight: bold;
    background-color: white;
}
.dc-x-4-item {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.cs-fullborder {
    border: 1px solid silver;
}
.cs-x {
    width: 23%;
}
.cs-0 {
    text-align: center;
    font-weight: bold;
    background-color: #b7d9f8;
    color: black;
    padding: 3px;
    min-height: 24px;
}
.cs-1, .cs-2, .cs-3 {
    min-height: 125px;
    position: relative;
}
#cs_2_1, #t_cs_2_1 {
    background-color: #b7d9f8a0;
}
.cs-vertical {
    writing-mode: vertical-lr;
    text-orientation: upright;
    text-align: center;
    letter-spacing: -2px;
    line-height: 16px;
    font-size: 10px;
    background-color: #b7d9f8;
    color: black;
    font-weight: bold;;
}
.cs-others {
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 90%;
    text-align: left;
    font-weight: bold;
}
.cs-others2 {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 90%;
    text-align: right;
}
.cs-icon {
    text-align: center;
    position: absolute;
    left: 0;
    top: 25px;
    width: 100%;
    zoom: 150%;
}
.cs-caption {
    font-size: 100%;
    text-align: center;
    font-weight: bold;
    position: absolute;
    left: 0;
    bottom: 20px;
    width: 100%;
}
.cs-caption2 {
    font-size: 90%;
    text-align: center;
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
}
.cs-iconh {
    position: absolute;
    left: 0;
    top: 30px;
    width: 100%;
    padding: 0px 10px;
    zoom: 110%;
}
.cs-captionh {
    font-size: 65%;
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 100%;
    padding: 0px 5px;
}

#fivestages {
    display: flex;
    justify-content: center;
    width: 50%;
    align-content: center;
    align-items: center;
}
#fivestages_div {
    width: 100%;
    height: 90%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin: 30px auto;
    position: relative;
}

.microhelp {
    font-size: 75%;
    font-weight: normal;
    font-family: monospace;
    color: #a04040;
}

#fc_1, #fc_2, #fc_3, #fc_4, #fc_5 {
    position: absolute;
    width: 100%;
    display: inline-block;
}
#fc_1_0, #fc_2_0, #fc_3_0, #fc_4_0, #fc_5_0 { font-weight: bold; }
#fc_1_1_1, #fc_2_1_1, #fc_3_1_1, #fc_4_1_1, #fc_5_1_1,
#fc_1_1_2, #fc_2_1_2, #fc_3_1_2, #fc_4_1_2, #fc_5_1_2,
#fc_1_2_1, #fc_2_2_1, #fc_3_2_1, #fc_4_2_1, #fc_5_2_1,
#fc_1_2_2, #fc_2_2_2, #fc_3_2_2, #fc_4_2_2, #fc_5_2_2 {
    display: inline-block;
    font-size: 75%;
}
#fc_1 {
    top: 5px;
    text-align: center;
}
#fc_2 {
    top: 110px;
    left: 120px;
    text-align: center;
}
#fc_3 {
    top: 230px;
    left: 80px;
    text-align: center;
}
#fc_4 {
    top: 230px;
    left: -80px;
    text-align: center;
}
#fc_5 {
    top: 110px;
    left: -120px;
    text-align: center;
}

.div_ss {
    display: flex; 
    justify-content: center; 
    width: 100%; 
    align-content: center; 
    align-items: center; 
    height: 420px;
}
.ss {
    display: flex;
    align-items: center;
    min-height: 42px;
}
.ss-even { background-color: var(--ss-even); }
.ss-odd { background-color: var(--ss-odd); }
.ss-11 {
    display: inline-block;
    width: 10%;
}
.ss-12 {
    display: inline-block;
    width: 20%;
}
.ss_short {
    font-weight: bold;
    padding-left: 10px;
    display: inline-block;
    width: 45px;
}
.ss_item {
    display: inline-block;
    min-width: 60px;
    padding: 2px 5px;
    position: relative;
}
.ss_item_icon {
    text-align: center;
    position: relative;
    top: 2px;
}
.ss_item_caption {
    text-align: center;
    font-size: 75%;
    font-weight: bold;
}
.ss-21 {
    display: inline-block;
    width: 70%;
}

/*------------------------- Media queries ------------------------------*/

@media screen and (max-width: 1800px) {
    #header2 { padding: 5px; }
    #header2 .brandtext { font-size: 26px; }
    #header2-infotext { font-size: 20px; }    
    #footer { font-size: 10px; }
    .w25 { width: 48%; }
    .w50 { width: 26%; }
    .w100 { width: 100%; }
    #brandicon {
        width: 48px;
        position: absolute;
        top: 50%;
        left: 5%;
        transform: translateY(-53%);
    }
}

@media screen and (max-width: 1000px) {
    #header { zoom: 75%; }
    .w50 { width: 45%; }
    .dc-x { width: 20%; }
    #fivestages { zoom: 75%; }
    #ssdiv { zoom: 75%; }
}

@media screen and (max-width: 700px) {
    #fivestages { zoom: 65%; }
    #ssdiv { zoom: 70%; }
}

@media screen and (max-width: 600px) {
    #header { zoom: 50%; }
    .w50 { width: 99%; }
    #main {
        font-size: 10px;
        zoom: 75%;
    }
    #fivestages { zoom: 62%; }
    #ssdiv { zoom: 65%; }
}
@media screen and (max-width: 600px) {
    #fivestages { zoom: 55%; }
}
@media screen and (max-width: 340px) {
    #fivestages { zoom: 50%; }
}