body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-content: stretch;
  justify-content: flex-start;
  /* background: rgba(255, 165, 0, 0.7); */
  font-family: 'Ubuntu', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: black;
  margin: 0;
}
html, body {
  height: 100%;
  background-color: #f0f0f0;
}
body > .container {
  max-width: 1280px;
  align-self: center;
  padding-top: 1em;
  padding-bottom: 1em;
}
header {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  align-content: stretch;
  background-image: url('background.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: white;
}
header > .container {
  background-color: rgba(0, 0, 0, 0.4);
}
.header-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}
.header-container {
  padding: 2em;
  flex: 1;
  text-align: center;
}
.header-container a {
  color: inherit;
}
.pic-name h1 {
  font-size: 24px;
  margin-bottom: 0;
}
.profile-pic {
  width: 160px;
  border-radius: 100%;
  cursor: pointer;
}
header a {
  text-decoration: none;
}
header a:hover {
  text-decoration: underline;
}
.container {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: stretch;
  align-content: stretch;
  flex-wrap: nowrap;
  flex: 1;
}
.flex-row {
  flex-direction: row;
  justify-content: flex-start;
}
.space-between {
  justify-content: space-between;
}
.center {
  align-items: center;
}
.block {
  margin: 1em;
  border: 1px solid #02075d;
  background: rgba(255,255,255,0.4);
  padding: 1em 2em 2em;
  justify-content: flex-start;
  box-shadow: 0px 0px 15px 0px rgba(200,200,200,0.75);
}
.block-header {
  align-items: center;
  max-height: 70px;
  border-bottom: 1px solid #02075d;
  color: #02075d;
}
.education .block-header,
.experience .block-header {
  margin-bottom: 1em;
}
.experience .block-header {
  cursor: pointer;
}
i.icon {
  margin-right: 1em;
}
.btn-expand {
  margin-left: auto;
  font-size: .9em;
}
.btn-expand i.fa-solid {
  font-size: 1.1em;
}
.item-header {
  cursor: pointer;
  color: #02075d;
}
.item-header:hover {
  /* text-decoration: underline; */
}
.item-header:hover::before {
  background: #02075d;
}
.item-header::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #fff;
  display: inline-block;
  position: relative;
  border-radius: 10px;
  top: 10%;
  left: -1.1em;
  transform: translatex(-50%);
  border: 2px solid #02075d;
  margin-right: -1em;
}
.year {
  margin-right: 1em;
  margin-top: 21px;
  text-align: center;
  font-size: 12px;
}
.edu-text {
  border-left: 3px solid #02075d;
  padding-left: 1em;
  justify-content: flex-start;
}
.edu-item ul {
  /* display: none; */
  padding-left: 2em;
  margin-top: 0;
}
.item-header {
  font-weight: 500;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.dots {
  padding-right: 1em;
  justify-content: flex-end;
  flex: 0;
  order: -1;
}
.dot {
  height: 16px;
  width: 16px;
  background-color: #ddd;
  border-radius: 50%;
  display: inline-block;
  margin: 0 2px;
}
.dot.filled {
  background-color: #02075d;
}
.skills-content p,
.skills .legend p  {
  position: relative;
  margin: 3px 0;
}
.skills-content h3 {
  margin-bottom: 0px;
}
.skills-content > .container {
  justify-content: flex-start;
}
.skills-content > .container > .container {
  flex: 0;
}
.skills .legend {
  margin-top: 2em;
  font-size: 10px;
  gap: 1em;
}
.skills .legend .dot {
  width: 8px;
  height: 8px;
}
.skills .block-header p {
  margin: 0;
}


.info-tooltip-icon {
  position: relative;
  margin-left: 0.2em;
  color: grey;
}
.info-tooltip-text {
  position: absolute;
  z-index: 1;

  display: none;
  background-color: #fff;
  border: 1px solid #02075d;
  color: #02075d;
  font-size: .8em;
  text-align: center;
  padding: 8px;
  border-radius: 6px;

  width: 240px;
  top: 25px;
  left: 0px;
  margin-left: -70px;
}
.tooltip-clickme {
  position: absolute;
  z-index: 1;

  display: none;
  background-color: rgba(200,200,200,0.9);
  color: #02075d;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  width: 200px;
  height: 26px;
  top: -20px;
  left: 70px;
  margin-left: -100px; /* Use half of the width (120/2 = 60), to center the tooltip */
}
.tooltip-clickme::after {
  content: " ";
  position: absolute;
  top: 100%; /* At the bottom of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: rgba(200,200,200,0.9) transparent transparent transparent;
}
.overlay {
  z-index: 9999;
  position: absolute;
  background-color: rgba(0,0,0,0.8);
  height: 100%;
  width: 100%;
  margin: 0;
  justify-content: space-around;
  align-items: center;
  cursor: pointer;
  display: none;
}
.overlay-content {
  max-width: 90%;
}


.exp-item ul {
  display: none;
  padding: 0 1em;
  margin-top: 0;
  border-top: 2px solid #02075d;
  padding-top: 1em;
}
.exp-item.edu ul {
  padding: 1em 0 0 1em;
}
.exp-item {
  position:relative;
  width: 50%;
  border-right: 3px solid #02075d;
}
.exp-item.edu {
  align-self: flex-end;
  border-left: 3px solid #02075d;
  border-right: none;
  margin-right: -3px;
}
.exp-text {
  padding-right: 1em;
  justify-content: flex-start;
}
.exp-item.edu .exp-text {
  padding-right: none;
  padding-left: 1em;
  padding-right: 0;
  justify-content: flex-start;
}
.exp-item .year {
  position: absolute;
  right: -48px;
  top: 12px;
  margin: 0;
  height: 40px;
  width: 32px;
  vertical-align: middle;
}
.exp-item .year p {
  margin: 0;
}
.exp-item.prof .year {
  order: +1;
}
.exp-item.edu .year {
  left: -49px;
  right: auto;
}
.exp-item .item-header::before {
  display: none;
}
.exp-item.prof .item-header {
  text-align: right;
}
.exp-item.prof .year::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #fff;
  display: inline-block;
  position: relative;
  border-radius: 10px;
  top: -2em;
  left: -4.2em;
  border: 2px solid #02075d;
  margin-left: 1.1em;
  margin-right: -2em;
}
.exp-item.edu .year::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #fff;
  display: inline-block;
  position: relative;
  border-radius: 10px;
  top: -2em;
  left: 1em;
  border: 2px solid #02075d;
  margin-left: 1.1em;
  margin-right: -2em;
}
.exp-item:hover .year::after {
  background: #02075d;
}

@media only screen {
  .print-only,
  .mobile-only {
    display: none !important;
  }
}

/* @media only screen
and (min-device-width: 320px)
and (max-device-width: 812px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: portrait)  */

@media only screen
and (max-device-width: 900px)
and (orientation: portrait) {
  .mobile-only {
    display: inherit;
  }
  .flex-row {
    flex-direction: column;
    justify-content: flex-start;
  }
  .flex-row.mobile {
    flex-direction: row;
  }
  header .header-container {
    padding: 0;
  }
  header .header-container:nth-child(1) {
    padding-top: 2em;
  }
  header .header-container:last-child {
    padding-bottom: 2em;
  }
  .block-header,
  .skills-content > .container > .container,
  .dots {
    flex-direction: row;
  }



  .exp-item {
    width: 85%;
    border-left: 3px solid #02075d;
    border-right: none;
    align-self: flex-end;
  }
  .exp-item.edu {
    margin-right: 0;
  }
  .exp-item.prof .item-header {
    text-align: left;
  }
  .exp-item .year {
    position: absolute;
    top: 12px;
    left: -49px;
    margin: 0;
    height: 40px;
    width: 32px;
    vertical-align: middle;
  }
  .exp-item.prof .year {
    order: 0;
  }
  .exp-item.edu .year::after,
  .exp-item.prof .year::after {
    content: "";
    width: 10px;
    height: 10px;
    background: #fff;
    display: inline-block;
    position: relative;
    border-radius: 10px;
    top: -2em;
    left: 1em;
    border: 2px solid #02075d;
    margin-left: 1.1em;
    margin-right: -2em;
  }
  .exp-item .exp-text {
    padding-right: none;
    padding-left: 1em;
    padding-right: 0;
    justify-content: flex-start;
  }
}

@media print {
  html, body {
    background: none;
    font-size: 12px;
  }
  .block {
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .dot {
    -webkit-print-color-adjust: exact !important;
  }
  .print-only {
    display: inherit;
  }
  .print-hide {
    display: none;
  }
	.page-break	{
    page-break-before: always;
    break-before: always;
  }
}
