/********** SCROLL ANCHORS **********/

html {
  scroll-behavior: smooth;
}

:target {
  display: block;
  position: relative;
  top: -50px; 
  visibility: hidden;
}


/********** ALL **********/

body {
  background-color: #f6f3ec;
  color: #333;
  font-size: 16px;
  line-height: 32px;
  font-family: 'Roboto Slab', serif;
  font-weight: 300;
  border: 30px solid #fff;
  padding: 20px;
}

@media (max-width: 992px) {
  body {
    border: 15px solid #fff;
    padding: 10px;
  }
}

#logo {
  color: #808080;
  font-size: 25px;
  font-weight: 600;
}

#tramLogo {
  height: 50px;
  padding-bottom:5px;
  padding-right:10px;
}

h1 {
  font-weight: 300;
}

h2 {
  font-size: 30px;
  margin-bottom: 25px;
  font-weight: 300;
  color: #666;
}

h3 {
  font-size: 20px;
  margin-bottom:10px
}

a {
  color: #666;
  text-decoration: underline;
}

a:hover {
  color: #000;
}

.nav-link {
  font-weight: 400;
}

a.nav-link, a.navbar-brand, a.dropdown-item, .homeBoxOut a {
  text-decoration: none;
}

.menuSpacer{
  width: 50px;
}

#navbarDropdown {
  cursor: pointer;
}

.currencyDivider{
  height: 25px;
  width: 1px;
  background-color: #ccc;
  margin: auto 3px auto 3px;
}

.currencyDivider2{
  height: 25px;
  width: 1px;
  background-color: #ccc;
  margin: auto 15px auto 15px;
}

.asterisk {
  margin-top: 40px;
  font-size: 12px;
  line-height: 20px;
}


/********** SHARE **********/

.share {
  background-color: #d5d1c5;
  margin-top: 20px;
  margin-left: 0px;
  margin-right: 0px;
  padding: 6px;
}

.copy {
  display: flex;
  padding: 6px 12px;
}

.shareText {
  font-size: 15px;
  color: #fff;
  line-height: 18px;
  align-self: center;
  padding: 0px;
}

.shareIcons {
  text-align: right;
  align-self: center;
  padding: 0px;
}

.shareIcons a {
  color: #d5d1c5;
}

.iconCircle {
  width: 90px;
  border-style: solid;
  background-color: #f6f3ec;
  border-color: #f6f3ec;
  border-radius: 40px;
  font-size: 18px;
  display: inline-block;
  text-align: center;
  cursor: pointer;
}

.iconCircle:hover {
  border-color: #fff;
  background-color: #fff;
  color: #d5d1c5;
}

.iconCircle:active {
  border-color: #444;
  background-color: #444;
}

.contactIcon {
  font-size: 20px;
  margin: 10px;
}

.contactLink {
  font-size: 15px;
  text-decoration: none;
  display: block;
}


/********** FOOTER **********/

.footer {
  font-size: 14px;
  font-weight: 300;
  text-align: center;
  background-color: #fff;
  padding: 15px;
}

.footerQuotes {
  margin-top: 30px;
}

.footerIcon {
  font-size: 14px;
  margin-left: 6px;
  margin-right: 6px;
}

.disclaimer {
  text-align: left;
  font-size: 11px;
  line-height: 16px;
  color: #555;
  border-top: solid 1px #aaa;
  margin-top: 10px;
  padding: 10px 15px 0px 15px;
}


/********** COOKIE NOTICE **********/

.cookiealert {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0 !important;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  border-radius: 0;
  transform: translateY(100%);
  transition: all 500ms ease-out;
  color: #ecf0f1;
  background: #666;
}

.cookiealert.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0%);
  transition-delay: 1000ms;
}

.cookiealert a {
  text-decoration: underline
}

.cookiealert .acceptcookies {
  margin-left: 10px;
  margin-top: 0px;
  vertical-align: baseline;
}


/********** ICONS **********/

.fa-info-circle {
  opacity: 0.8;
  margin-left: -1px;
  margin-right: 2px;
}

.fa-calculator {
  margin-right: 2px;
}

.fa-level-up-alt {
  opacity: 0.8;
  position: relative;
  top: -2px;
  left: 7px;
}

.symbolInCalc {
  width: 60px;
  height: 60px;
  opacity: 0.8;
  margin-bottom: 5px;
  mix-blend-mode: multiply;
}

/********** HOMEPAGE **********/

/* Table */
.text-warning {
  color: orange !important;
}

td, th {
  border-color:#d3cdc0 !important;
}

th{
  font-weight: normal !important;
}


.homepage {
  padding: 20px;
}

.homeButtons {
  padding: 8px;
}

.homeBoxOut {
  padding: 0;
  text-align: center;
}

.homeBoxMiddle {
  display: flex;
  justify-content: center;
  height: 225px;
  border-style: solid;
  border-width: 1px;
  border-color: rgba(0,0,0,0.3);
  margin: 6px;
}

.homeBoxIn {
  text-align:center;
  padding: 35px;
  align-self: center;
}

.homeBoxIn h3 {
  color: #666 ;
  font-weight: 300;
}

.symbols {
  opacity: 0.3;
  mix-blend-mode: multiply;
  width: 60px;
  padding-bottom: 20px
}

.homeBoxMiddle:hover .symbols {
  margin-bottom: -10px;
  width: 80px;
  opacity: 0.4;
  transition: all 0.2s ease-in-out;
}


/********** FORMS **********/

form {
  font-weight: 300;
}

input {
  text-align: center;
  margin: 5px;
  display: inline-block;
  height: 35px;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: #222;
  background-color: #f6f3ec;
  border: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
}

input::placeholder{
  color: #222;
}

input:focus::placeholder{
  color: transparent;
}


input.short {
  width: 40px;
}

input.medium {
  width: 60px;
}

input.long {
  width: 80px;
}

.break {
  display: inline-block;
}

.custom-select {
  height: 35px;
  color: #222;
  background-color: #f6f3ec;
  border: 0;
  margin: 5px;
  border-radius: 0;
  padding-top: 3px;
  font-weight: 300;
}

.currency {
	width: 56px;
}

.btn-primary {
  height: 35px;
  color: #222;
  background-color: #ebe4d4;
  margin-top: 20px;
  border: 0;
  border-radius: 0;
}

.btn-primary:hover, .btn-primary:focus {
  color: #222;
  background-color: #ddd;
}


/********** IN THE BOX **********/

.back-number {
  position: absolute;
  top: 48px;
  left: 7px;
  font-size: 120px;
  font-weight: 900;
  line-height: 0px;
  color: #f6f3ec;
}

hr {
  border-top: 1px solid #222;
}

p {
  display: inline;
}

ul.facts {
  margin-bottom: 0;
}

ul.facts li {
  text-align: left;
  padding-bottom: 10px;
  margin-left: -18px;
}

/********** STRUCTURE **********/

.calcBox {
  margin: 15px;
  padding: 50px 20px 30px 100px;
  background-color: #fff;
  text-align: left;
}

@media (max-width: 992px) {
  .calcBox {
    padding: 100px 20px 30px 30px;
  }
}

#title {
  background-color: #f6f3ec;
  padding: 0px 10px 10px 10px;
}

#owl {
  text-align: center;
  background-color: #f6f3ec;
  padding: 0px;
  height: 400px;
}

#owl img {
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  opacity: 0.8;
}

#navId {
  margin-bottom:20px;
}


/********** ERRORS **********/

#close {
  border-style: none;
  background-color:inherit;
  font-weight: 100;
  font-family: Arial, sans-serif;
  color: #5e1119;
  opacity: 0.6;
  position: absolute;
  top: 1px;
  right: 5px;
}

#close:hover {
  opacity: 1.0;
}


/********** BARS **********/

.progress {
  height: 42px;
  margin: 15px 0;
  background-color: #fff;
  border: 3px solid #fff;
  border-radius: 0;
}

.progress-bar {
  color: #222;
  font-size: 16px;
  animation: progressBar 1s ease-in-out;
  animation-delay: 1s;
  animation-fill-mode:both; 
}

@keyframes progressBar {
0% { width: 0; }
100% {  }
}

#barCont ,#barEarn, #barAge, #barRetire, #barDeath {
	width: 0%;
}

#barCont {
  background-color: #fff2cb;
}

#barEarn {
  background-color: #e4ffcd;
}

#barAge {
  background-color: #ffd4f1;
}

#barRetire {
  background-color: #d2fff4;
}

#barDeath {
  background-color: #e4ffcd;
}

#barWhite {
  background-color: #ffffff;
}


/********** STEPS **********/

.steps {
  counter-reset: my-awesome-counter;
  list-style: none;
  padding-left: 50px;
  font-weight: 300;
}
.steps .step {
  margin: 0 0 0.5rem 0;
  counter-increment: my-awesome-counter;
  position: relative;
}
.steps .step::before {
  content: counter(my-awesome-counter);
  font-size: 40px;
  color:#938e85;
  position: absolute;
  --size: 40px;
  left: calc(-1 * var(--size) - 0px);
  line-height: var(--size);
  width: var(--size);
  height: var(--size);
  top: -5px;
}

.stepTitle {
  font-size:22px;
  margin-top:22px;
  font-weight: 400;
}



/********** MODAL **********/

.modal {
  padding: 30px!important ;
}

.modal-backdrop {
    opacity:0.7 !important;
}

.modal-lg {
  max-width: 900px ;
  margin-top: -35px ;
}

.modal-body {
  padding: 0px ;
  background-color: #807272;
  color: #fff;
}

.modalRow {
  margin: 0px ;
}

.modal1 {
  width: 100% ;
  padding: 0px ;
}

.modalPhoto {
  width: 100% ;
  padding: 0px ;
}

.modal2 {
  width: 100% ;
  padding: 0 ;
  vertical-align: middle;
}

.modalText {
  padding: 35px;
  padding-bottom: 60px;
  font-size: 30px ;
  font-weight: 200 ;
  line-height: 40px ;
  display: flex;
  height: 100% ;
}

.modalTextCentered {
  align-self: center;
}

.modalMoney {
  font-size: 40px ;
  font-weight: 500 ;
}

.close {
  clear:both;
  position: relative ;
  top: 6px ;
  right: 10px ;
  color: #fff;
  opacity: 1;
}

.modalLink {
  font-size: 20px ;
  color: #807272;
  position: absolute ;
  height: 42px ;
  width: 156px ;
  bottom: 0px ;
  right: 0px ; 
}



/********** QUOTES **********/

.quoteBox {
  padding: 30px;
}

@media all and (max-width: 600px) {
  .quoteBox {
    padding: 30px 0px;
  }
}


.quoteCompany {
  font-style: italic;
  font-size: 13px;
  font-weight: 300;
}

/* Blockquote main style */
.blockquote {
    position: relative;
    max-width: 620px;
    margin: 10px 10px;
    align-self: center;
}

/* Blockquote header */
.blockquote h1 {
    position: relative; /* for pseudos */
    color: #666;
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    margin: 0;
    border: 2px solid;
    border-color: rgba(102,102,102,0.5) ;
    border-radius:20px;
    padding: 25px;
}

.stressed {
  color: #111;
}

/* Blockquote right double quotes */
.blockquote h1:after {
    content:"";
    position: absolute;
    border: 2px solid;
    border-color: rgba(102,102,102,0.5) ;
    border-radius: 0 50px 0 0;
    width: 60px;
    height: 60px;
    bottom: -60px;
    left: 50px;
    border-bottom: none;
    border-left: none;
    z-index: 3; 
}

.blockquote h1:before {
    content:"";
    position: absolute;
    width: 80px;
    border: 6px solid;
    border-color: #f6f3ec;
    bottom: -3px;
    left: 50px;
    z-index: 2;
}


/* Blockquote subheader */
.blockquote h4 {
    position: relative;
    color: #333;
    font-size: 16px;
    font-weight: 300;
    line-height: 1;
    margin: 0;
    padding-top: 20px;
    z-index: 1;
    margin-left:150px;
    padding-left:12px;
}

 
.blockquote h4:first-letter {
  margin-left:-12px;
}

