body {
  background: #fff;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.02em;
  word-wrap: break-word;
  color: #000;
  line-height: 1.4;
  margin: 50px 0 60px;
}

h1, h2, h3, h4, h5 {
  line-height: 1em;
  margin: 0;
}
h1 {
  color: #FF1717;
  font-size: 2.4em;
  font-weight: 900;
}
h2 {
  margin-top: 10px;
  font-weight: 900;
}
h3 {
  font-size: 1.2em;
  font-weight: 900;
}
h4 {
  font-size: 1.1em;
  margin-bottom: 0.3em;
}
p {
  font-weight: 400;
  font-size: 1em;
  margin: 0;
  line-height: 1.8em;
  opacity: 0.8;
}
em {
  opacity: 0.5;
}
p {
  line-height: 1.4;
}
ul {
  margin-bottom: 0;
}
section, #skills .item {
  margin-bottom: 2em;
}
section > h3 {
  width: 25%;
  float: left;
  color: #FF1717;
}
section > section {
  width: 75%;
  float: left;
}
blockquote {
  margin: 0;
  margin-bottom: 1em;
}
a {
  font-size: 0.9em;
  font-weight: 700;
  opacity: 0.5;
  color: #000;
}
.divider {
  height: 1px;
  width: 100%;
  background-color: #ccc;
}
.item {
  margin-bottom: 3em;
}
.row:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
#resume {
  margin: 0 auto;
  /*max-width: 595px;*/
  max-width: 690px;
  padding: 0 50px;
}
#resume > section {
  margin-bottom: -10px;
  margin-top: 10px;
}
#resume > section:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.summary {
  margin: 10px 0 10px;
  font-style: italic;
}
#skills .keywords,
#languages > section,
#interests > section,
#profiles > section,
#contacts {
  display: flex;
  flex-wrap: wrap;
}
#education .institution,
#work .name,
#volunteer .name,
#awards .title,
#publications .name {
  font-size: 1em;
  font-weight: 900;
  width: 65%;
  float: left;
}
#education .area,
#education .studyType {
  font-size: 0.9em;
  font-weight: 400;
  font-style: italic
}
#education .date,
#work .date,
#volunteer .date,
#awards .date,
#publications .date {
  font-size: 0.7em;
  letter-spacing: -0.02em;
  font-weight: 400;
  width: 35%;
  float: right;
  text-align: right;
}
#education .education-sub-info {
  margin-top: 10px;
}
#education .education-sub-info span:not(:last-child):after {
  margin: 0 5px;
  content: "/";
}
#edu {
  margin-bottom: 100px !important;
}
#work .url,
#work .position,
#work .highlights,
#work .item > h5,
#volunteer .url,
#volunteer .position,
#volunteer .highlights,
#volunteer .item > h5,
#awards .awarder,
#publications .url,
#publications .publisher,
#skills .item .level,
#languages .item .fluency {
  font-size: 0.9em;
}
#work .summary,
#work .description,
#awards .summary,
#volunteer .summary,
#publications .summary {
  font-style: normal;
  font-size: 0.8em;
  margin: 10px 0;
}
#work .position,
#volunteer .position,
#awards .awarder,
#publications .publisher {
  margin-top: 10px;
  font-style: italic;
}
#work .highlights,
#volunteer .highlights {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
#work .highlights li,
#volunteer .highlights li {
  font-size: 0.9em;

  /* one column configration */
  width: 100%;

  /* two column configration */
  /* width: 45%; */
  /* margin-right: 5%; */
}
#skills .keywords {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8em;
  margin-top: 10px;
}
#skills .keywords li {
  margin-right: 20px;
}
#skills .item .name,
#languages .item .language,
#profiles .item .network {
  font-weight: 900;
}
#languages .item,
#profiles .item {
  width: 33.3%;
  margin-bottom: 10px;
}
#profiles .item .network {
  font-size: 0.9em;
}
#profiles .item .url {
  font-size: 0.8em;
}
#interests .name {
  font-size: 0.9em;
  font-style: italic;
  margin-right: 7px;
}
#interests .name:not(:last-child):after {
  content: ',';
  margin-left: -3px;
}
#contacts .item {
  flex: 1;
  margin-bottom: 0;
}
#profiles, #skills {
  overflow: hidden;
}
#contacts {
  margin-bottom: 0 !important;
}
#contactsContent {
  font-size: 0.8em;
}
#contacts .site {
  align-self: flex-end;
  text-align: right;
}
#contacts .site a {
  color: #FF1717;
  opacity: 1;
  font-size: 1em;
  font-weight: 900;
}
#contacts .location .block span:not(:last-child):after {
  content: ', ';
}
#contacts .block {
  display: block;
}
#references .item {
  width: 45%;
  float: left;
  padding-right: 10%;
}
#references .item:nth-child(2n) {
  padding: 0;
}
#references .reference {
  font-style: normal;
  font-size: 0.7em;
  margin: 10px 0;
  font-style: italic;
}
#references .name {
  font-weight: 900;
  font-size: 0.8em;
}
/* Smartphones (portrait) ----------- */
@media (max-width: 599px) and (not print) {
  body {
    margin: 30px 0 40px;
  }
  #resume {
    padding: 0 35px;
  }
  #resume > section {
    margin-top: 50px;
  }
  .summary {
    margin-bottom: 40px;
  }
  section {
    margin-bottom: 0;
  }
  section > h3 {
    width: 100%;
    float: none;
    margin-bottom: 20px;
  }
  section > section, #references .item {
    width: 100%;
    flex: none;
    padding: 0;
  }
  section > .item:last-child, section.item:last-child {
    margin-bottom: 0;
  }
  #contacts {
    margin-left: 0;
  }
  #languages .item, #profiles .item {
    width: 50%;
  }
}



@media print {
  body {
    font-size: 0.9em;
    margin: 0;
  }
  #resume {
      width: 85%;
      margin: 1cm auto;
      padding: 0;
      -ms-word-wrap: break-word;
      word-wrap: break-word;
      line-height: 1.3;
      font-family: Arial, Georgia, "Lucida Grande", sans-serif;
  }
  .summary {
    margin: 0.2cm 0 0.9cm 0;
  }
  #resume > section {
    margin: 0;
  }
  section > section {
    margin: 0;
  }
  #skills .level {
    line-height: 1.5em;
  }
  #skills .name {
    float: left;
    margin-right: 0.5cm;
  }
  #skills .keywords {
    margin-top: 0.1cm;
  }
  section#interests {
    margin-top: 1cm;
    margin-bottom: 1.2cm;
  }
  p {
    opacity: 1;
  }
  #awards {
    display: none;
  }
}

@page {
  margin: 1cm 1.4cm;
}
