/*
font-family: 'Slabo 13px', serif;
font-family: 'Slabo 27px', serif;
font-family: 'Playfair Display', serif;
*/
.col-top {
  vertical-align: top;
}
.col-middle {
  vertical-align: middle;
}
.col-bottom {
  vertical-align: bottom;
}
.col-custom-50 {
  width: 50%;
  float: left;
}
.inline {
  display: inline-block;
  vertical-align: middle;
}
.border-left {
  border-left: 1px solid #decbbe;
}
.border-right {
  border-right: 1px solid #decbbe;
}

.static {
  position: static!important;
}
.noscroll { overflow:hidden; }
.fix-scroll {
  overflow-y: scroll!important;
}

body {
  background-color: #f6f6ee;
  overflow-x: hidden;
  color: #535353;
  line-height: 22px;
  font-size: 13px;
  font-family: 'Slabo 13px', serif;

}
a {
  text-decoration: none!important;
}
@media (max-width: 767px) {
  body {
    overflow: hidden;
  }
}

/* --- SIDE MENU --- */
#overlay {
  background: rgba(203,54,4,0.4);
  /*width: 100%;*/
  /*height: 100%;*/
  z-index: 9998;
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  display: none;
  cursor: zoom-out;
}
.menu {
  right: -406px;
  height: 100%;
  position: absolute;
  width: 406px;
  max-width: 406px;
  z-index: 9999;
  overflow-y: auto;
  overflow: auto;
  box-sizing: border-box;
}
.menu .menu-bg {
  background: #f2e8e5;
  border: 5px solid #802000;
  position: absolute;
  right: 0;
  top: 0;
  width: calc(100% - 28px);
  height: 100%;
  z-index: 1;
}
.menu .menu-inner {
  background: #f2e8e5;
  border: 5px solid #802000;
  border-bottom: none;
  position: absolute;
  right: 0;
  top: 0;
  width: calc(100% - 28px);
  z-index: 2;
}
.menu header {
  background: #fff;
}
.menu header .logos {
  position: relative;
  left:-28px;
  top: -5px;
  width: calc(100% + 28px);
}
.menu header .logos img:last-of-type {
  vertical-align: bottom;
  margin-left: -4px;
}
@media (max-width: 767px) {
  .menu header .logos {
    text-align: center;
    margin-top: 30px;
    left: auto;
    top: auto;
    width: 100%;
  }
  .menu header .logos img:first-of-type {
   display: none;
  }
  .menu header .logos img:last-of-type {
    vertical-align: bottom;
    margin-left: 0;
  }
}
.menu header .contacts-info {
  margin-top: 55px;
  padding-bottom: 45px;
  text-align: center;
}
.menu header .contacts-info a {
  font-size: 12px;
  color: #535353;
}
.menu header .contacts-info a img {
  margin-right: 10px;
}
.menu header .contacts-info a > span {
  vertical-align: middle;
}
.menu header .contacts-info a:first-of-type > span {
  margin-right: 15px;
}
.menu header .contacts-info .contacts-info-inner {
  text-align: left;
  display: inline-block;
  /*padding-left: 45px;*/
}
.menu header .contacts-info .contacts-info-inner a {
  display: block;
  margin-top: 10px;
}
.menu header #logo {
  position: relative;
  z-index: 10;
}
.menu header .menu-close-btn {
  border-bottom: 1px solid #d9bcb2;
  text-align: center;
  padding: 24px 10px;
  display: block;
  transition: all 0.3s ease-out;
}
.menu header .menu-close-btn:hover {
  background-color: #f2e8e5;
}
.menu header .menu-close-btn #close-btn {
  display: inline-block;
}
.menu header .menu-close-btn #close-btn #close-text,
.menu header .menu-close-btn #close-btn img {
  display: inline-block;
  vertical-align: middle;
  font-size: 15px;
  color: #535353;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.menu header .menu-close-btn #close-btn img {
  margin-right: 20px;
}

.menu ul.links  {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu ul.links img {
  margin-right: 20px;
}

.menu .links a {
  color: #535353;
  padding: 30px 45px;
  background: #f2e8e5;
  border-bottom: 1px solid #d0aca0;
  width: 100%;
  display: block;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.menu .links a:hover {
  background-color: #fff;
  text-decoration: none;
  color: #802000;
}
.menu .links li:first-of-type a {
  border-top: 1px solid #d0aca0;
}

.menu-icon {
  /*position: relative;*/
  margin-top: 22px;
  margin-bottom: 42px;
  margin-left: 45px;
  /*display: block;*/
  z-index: 500;
  float: right;
}
.menu-icon.menu-inside {
  display: none;
  position: absolute;
  top: 17px;
  right: 30px;
  z-index: 500;
}
.menu-icon a {
  display: inline-block;
}
.menu-icon img:first-of-type {
  margin-right: 12px;
}
.menu-icon img {
  z-index: 2;
  position: relative;
}
.menu-icon .open-menu > img:nth-child(2) {
  top: -5px;
}
.menu-icon img.hamburger {
  margin-right: 9px;
}
.menu-icon span.menu-box {
  border: 1px solid #802000;
  position: relative;
  left:-20px;
  padding: 15px 18px;
  padding-left: 27px;
  z-index: 1;
  color: #802000;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  vertical-align: middle;
  display: inline-block;
  transition: all 0.3s ease;
}
.menu-icon:hover span.menu-box {
  background-color: #f2e8e5;
  text-decoration: none;
}
.menu-icon .menu-box > img,
.menu-icon .menu-box > span {
  vertical-align: middle;
  display: inline-block;
}
a.design-by {
  /*position: absolute;*/
  margin-bottom: 10px;
  margin-right: 20px;
  color: #535353;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: 'Slabo 13px', serif;
  text-decoration: none;
  transition: transform 0.1s ease-in-out;
  display: inline-block;
}
a.design-by span {
  color: #cb3604;
}

@media (max-width: 495px) {
  .menu-icon {
    margin-left: 0;
    float: none;
    text-align: center;
    padding: 30px 30px!important;
  }
  .menu-icon span.menu-box {
    left: 0;
    float: none;
  }
  .menu-icon .open-menu > img:nth-child(2) {
    visibility: hidden;
    width: 0;
  }
}
@media (max-width: 460px) {
  .menu {
    right: -270px;
    width: 270px;
    max-width: 270px;
  }
  .menu-icon {
    padding: 30px 30px!important;
  }
}
@media (max-width: 767px) {
  .menu .menu-bg {
    width: 100%;
  }
  .menu .menu-inner {
    width: 100%;
  }
  .menu header .logos {
    left:0px;
    top: 0px;
    width: 100%;
    text-align: center;
  }
  .menu header .logos img:last-of-type {
    margin-top: 20px;
  }
  .menu .links a {
    padding: 30px 25px;
  }
  .menu-icon {
    right: 0;
  }
  .menu-icon > a > img:nth-of-type(2) {
    display: none;
  }
  .menu-icon .menu-box {
    float: right;
  }
  .menu-icon .open-menu {
    display: block;
  }
  section:first-of-type .menu-icon:first-of-type {
    position: fixed;
    background: rgba(232, 232, 227, 0.95);
    border-bottom: 1px solid white;
    padding: 30px 80px;
    width: 100%;
    top: 0;
    left: 0;
    margin: 0;
  }
  section:first-of-type .menu-icon:last-of-type {
    visibility: hidden;
  }
  section:not(:first-of-type) .menu-icon {
    /*visibility: hidden;*/
    /*margin-bottom: 0;*/
    display: none;
  }
  .menu header .contacts-info .contacts-info-inner {
    padding-left: 0px;
  }
  #home section:not(:last-of-type) .design-by {
    visibility: hidden;
  }
}

/* --- HOME Page --- */
main#home {
  /*width: 300%;*/
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.3s ease-in-out;
}

@media (max-width: 767px) {
  main#home {
    overflow-y: scroll;
  }
}
main#home {

}
main#home > section {
  float: left;
  position: relative;
  /*width: 33%;*/
  height: 100%;
  overflow: hidden;
}
main#home > section > .inner-section {
  border: 6px solid #802000;
  border-left: none;
  border-right: none;
  position: absolute;
  height: 100%;
  width: 100%;
}
@media (max-width: 767px) {
  main#home > section > .inner-section {
    border: 1px solid transparent;
  }
  main#home > section:first-of-type > .inner-section {
    border-top: 6px solid #802000;
  }
  main#home > section:last-of-type > .inner-section {
    border-bottom: 6px solid #802000;
  }
}
#home > section .inside {
  position: relative;
  /*padding-top: 150px;*/
  overflow-x: hidden;
  height: 100%;
  vertical-align: top;
}
#home > section .inside-time-line {
  display: none;
  vertical-align: top;
  position: relative;
}
#home > section .capital {
  position: absolute;
  width: 100%;
  max-width: 503px;
  height: 100%;
  max-height: 531px;
  top: 0;
  overflow: hidden;
  left: 0;
}
#home > section .capital > .bg {
  max-width: 100%;
  height: auto;
}

/* time line */
#home > section .inside-time-line .date {
  position: absolute;
  /*top: 450px;*/
  right: 1px;
}
#home > section .inside-time-line .date .point,
#home > section .inside-time-line .date .text {
  display: inline-block;
  vertical-align: middle;
}
#home > section .inside-time-line .date .text {
  font-size: 12px;
  color: #802000;
  text-transform: uppercase;
  font-family: 'Slabo 13px', serif;
  letter-spacing: 0.2em;
}
#home > section .inside-time-line .date .point {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #802000;
  display: inline-block;
  transition: transform 0.2s ease;
}

#home > section .time-line,
#home > section .time-line > .container {
  position: relative;
}
/*#home > section .time-line:hover .point,*/
/*#home > section .time-line:hover .point {*/
/*transform: scale(1.6);*/
/*}*/
#home > section .time-line .year {
  color: #802000;
  letter-spacing: 0.2em;
  font-size: 12px;
  margin-bottom: 18px;
  font-family: 'Slabo 13px', serif;
}
#home > section .time-line .point {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #802000;
  margin-top: -6px;
  position: relative;
  z-index: 2;
  transition: transform 0.2s ease;
}
#home > section .time-line hr {
  border-color: #bb8b77;
  opacity: 0.5;
  margin: 0;
}
#home > section .time-line .v-line {
  width: 1px;
  height: 47px;
  background: #802000;
  position: absolute;
  bottom: -45px;
}
/*#home > section .time-line .right .v-line {*/
/*left: 18px;*/
/*}*/

#home > section .time-line .left,
#home > section .time-line .right {
  position: absolute;
  bottom: -4px;
}
#home > section .time-line .left.clickable,
#home > section .time-line .right.clickable {
  display: inline-block;
  text-decoration: none;
}
#home > section .time-line .right.clickable {
  height: 40px;
}
#home > section .time-line .left {
  padding-left: 50px;
  left: 0;
}
#home > section .time-line .left hr {
  margin-left: -50px;
}
#home > section .time-line .left .year {
  margin-left: -15px;
}
#home > section .time-line .left .point {
  margin-left: -4px;
}
#home > section .time-line .right {
  padding-right: 50px;
  right: 0px;
}
#home > section .time-line .right hr {
  margin-right: -50px;
}
#home > section .time-line .right .year {
  margin-left: -15px;
  position: absolute;
  bottom: 0;
}
#home > section .time-line .right .point {
  position: absolute;
  top: 36px;
  left: -4px;
}

#home > section .time-line .next {
  width: 225px;
  border: 2px solid #802000;
  height: 82px;
  position: absolute;
  right:49px;
  top: 50px;
}
#home > section .time-line .prev {
  width: 225px;
  border: 2px solid #802000;
  height: 82px;
  position: absolute;
  left:50px;
  top: 50px;
}
#home > section .next .white-box,
#home > section .prev .white-box {
  width: 50px;
  height: 100%;
  position: absolute;
  right: 0;
}
#home > section .white-box img {
  left: 50%;
  margin-left: -4px;
  top: 50%;
  margin-top: -19px;
  position: relative;
}
#home > section .next .white-box img {
  margin-left: -5px;
}
#home > section .next .dates,
#home > section .prev .dates {
  width: calc(100% - 50px);
  height: 100%;
  position: absolute;
  background: #cb3604;
  right: 0;
  color: #fff;
  transition: background 0.2s ease-out;
}
#home > section .next:hover .dates,
#home > section .prev:hover .dates {
  background: #802000;
}
#home > section .next .dates-inner,
#home > section .prev .dates-inner {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  text-align: center;
}
#home > section .dates .from,
#home > section .dates .to {
  display: inline-block;
  max-width: 46%;
  text-align: left;
}
#home > section .dates .from .month,
#home > section .dates .to .month {
  font-size: 12px;
  text-transform: uppercase;
  font-family: 'Slabo 13px', serif;
  display: block;
}
#home > section .dates .from .year,
#home > section .dates .to .year {
  font-size: 30px;
  text-transform: uppercase;
  font-family: 'Slabo 13px', serif;
  font-weight: bold;
  letter-spacing: -0.025em;
  color: #fff;
  display: block;
  margin-bottom: 0px;
  /* TODO: when change font : */
  /*margin-top: 7px;*/
}
#home > section:nth-of-type(3) .prev .dates .from .year,
#home > section:nth-of-type(3) .prev  .dates .to .year {
  font-size: 20px;
}
#home > section .next .white-box {
  left: 0;
}
#home > section .prev .dates {
  left: 0;
}
@media (max-width: 401px) {
  #home > section .inside-time-line {
    display: none;
  }
}
@media (max-width: 460px) {
  #home > section:nth-of-type(2) .inside-time-line .date {
    top: 193px;
  }
  #home > section:not(:nth-of-type(2)) .inside-time-line .date {
    top: 112px;
  }
}
@media (min-width: 461px) and (max-width: 490px) {
  #home > section:nth-of-type(2) .inside-time-line .date {
    top: 201px;
  }
  #home > section:not(:nth-of-type(2)) .inside-time-line .date {
    top: 112px;
  }
}
@media (min-width: 491px) and (max-width: 549px) {
  #home > section:nth-of-type(2) .inside-time-line .date {
    top: 201px;
  }
  #home > section:not(:nth-of-type(2)) .inside-time-line .date {
    top: 112px;
  }
}
@media (min-width: 550px) and (max-width: 767px) {
  #home > section:nth-of-type(2) .inside-time-line .date {
    top: 211px;
  }
  #home > section:not(:nth-of-type(2)) .inside-time-line .date {
    top: 112px;
  }
}
@media (min-width: 402px) and (max-width: 767px) {
  #home > section .inside {
    position: relative;
    width: calc(100% - 105px);
    display: table-cell;
  }
  #home > section .inside-time-line {
    width: 100px;
    display: table-cell;
    height: 100%;
  }
  #home > section .inside-time-line .vertical {
    width: 1px;
    min-height: 100%;
    height: 100%;
    background: #ccab9a;
    position: absolute;
    right: 5px;
    top: 0;
  }
}
@media (max-width: 1750px) {
  #home > section .time-line .next,
  #home > section .time-line .prev,
  #home > section .time-line .v-line {
    display: none;
  }
  #home > section .time-line.tl-bottom {
    margin-bottom: 65px;
    margin-top: 65px;
    height: 83px;
  }
  #home > section .time-line.tl-bottom .next,
  #home > section .time-line.tl-bottom .prev {
    display: inline-block;
    top: 0px;

  }
  #home > section .time-line.tl-bottom .next {
    right: 0;
  }
  #home > section .time-line.tl-bottom .prev {
    left: 0;
  }
  #home > section .time-line .right {
    padding-right: 35px;
  }
  #home > section .time-line .left {
    padding-left: 35px;
  }
}
@media (min-width: 1751px) {
  #home > section .time-line.tl-bottom .next,
  #home > section .time-line.tl-bottom .prev {
    display: none;
  }
  #home > section .time-line > .container {
    width: auto;
  }
}
/* section body */
#home > section .heading {
  position: absolute;
  font-size: 40px;
  color: #62615d;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  letter-spacing: 0.2em;
  margin-top: 45px;
}
#home > section .body header {
  border-bottom: 1px solid #decbbe;
  padding-top: 35px;
  padding-bottom: 42px;
  /*padding-left: 25px;*/
  /*padding-right: 25px;*/
  margin-bottom: 30px;
}
#home > section .body header .dates {
  padding-right: 20px;
}
#home > section .body header .dates .year {
  color: #802000;
}
#home > section .body header .dates .month,
#home > section .body header .dates .dash {
  color: #828282;
}
#home > section .body header .position-info {
  display: inline-block;
  width: calc(100% - 176px);
  padding-left: 20px;
  position: relative;
}
#home > section .body header .position-info h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  color: #802000;
  font-size: 50px;
  margin: 0;
  margin-bottom: 24px;
}
#home > section .body header .position-info .info-wrapper > span {
  display: inline-block;
  margin-right: 35px;
  font-size: 15px;
  font-family: 'Slabo 27px', serif;
}
#home > section .body header .position-info .info-wrapper > a {
  color: #cb3604;
}
#home > section .body header .position-info .info-wrapper > span > span {
  color: #b4b4b4;
}
#home > section .body h2 {
  color: #802000;
  font-family: 'Slabo 27px', serif;
  font-size: 18px;
  margin: 0;
}
/*#home > section .body h2:not(:first-child) {*/
  /*margin-top: 30px;*/
/*}*/
#home > section .body .text p {
  margin-top: 30px;
  margin-bottom: 0;
}
#home > section .body .text .float-right {
  float: right;
  margin-top: 20px;
  margin-bottom: 20px;

  /*background-color: #f6f6ee;*/
}
#home > section .body .text .float-right.scrolls-text {
  shape-outside: polygon(36% 0%, 100% 100%, 25% 94%, 3% 60%, 50% 15%);
}
#home > section .body .text-divider {
  width: 20px;
  height: 1px;
  background: #62615d;
  margin-top: 33px;
  /*margin-bottom: 27px;*/
}

@media (max-width: 460px) {
  #home > section .heading {
    font-size: 24px;
  }
}
@media (min-width: 461px) and (max-width: 550px) {
  #home > section .heading {
    font-size: 31px;
  }
}
@media (max-width: 767px) {
  #home > section .body header .position-info.inline {
    display: block;
    width: 100%;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid #bb8b77;
    padding-top: 40px;
    margin-top: 40px;
  }
  #home > section:not(:nth-of-type(2)) .heading {
    display: none!important;
  }
  #home > section .body h2 {
    font-size: 32px;
  }
  #home > section .body .text [class*="col-"]:not(:first-of-type) h2 {
    margin-top: 30px;
  }
}
@media (max-width: 991px) {
  #home > section .body .text .img-not-responsive {
    max-width: 100%;
    height: auto;
  }
}

/* SECTION BEGINING */
#home #from-begining h1 {
  font-size: 132px;
  color: #62615d;
  font-family: 'Playfair Display', serif;
  line-height: 1;
  margin-top: -90px;
  position: relative;
  z-index: 2;
  border-bottom: 4px solid #802000;
  padding-bottom: 33px;
  display: inline-block;
}
#home #from-begining h1 > span:first-of-type {
  font-size: 85px;
  font-style: italic;
  position: relative;
  left: -100px;
  top: 20px;
}
#home #from-begining h1 > span:last-of-type {
  display: block;
}
#home #from-begining .time-line {
  margin-left: 60%;
}
#home #from-begining .time-line .start-edge {
  margin-left: -149px;
  position:relative;
  top:-12px;
  display: inline-block;
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-family: 'Slabo 13px', serif;
  z-index: 3;
}
/*#home #from-begining .time-line .start-edge:hover .start-point {*/
/*transform: scale(1.5);*/
/*}*/
#home #from-begining .time-line .start-edge span:first-of-type {
  color: #802000;
}
#home #from-begining .time-line .start-point {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #802000;
  /*margin-top: -4px;*/
  top: 1px;
  left: 12px;
  position: relative;
  z-index: 2;
  display: inline-block;
  transition: transform 0.2s ease;
}
#home #from-begining .row.about {
  display: table;
  table-layout: fixed;
  height: 100%;
  width: 100%;
}
#home #from-begining .about [class^="col-"] {
  display: table-cell;
  float: none;
  height: 100%;
}
#home #from-begining .about p {
  color: #535353;
  font-size: 36px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  line-height: 60px;
  margin-top: 20px;
}
#home #from-begining .about p .greet {
  margin-top: 35px;
  display: block;
  line-height: normal;
}
#home #from-begining .about #mycv {
  color: #802000;
  font-size: 16px;
  font-family: 'Slabo 13px', serif;
  letter-spacing: 0.2em;
  border: 2px solid #cb3604;
  padding: 30px 110px;
  display: inline-block;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 20px;
}
#home #from-begining .about hr {
  border-color: #bb8b77;
  margin-top: 0;
  margin-bottom: 36px;
}
#home #from-begining .about #myemail {
  border-color: #bb8b77;
  margin-top: 0;
  margin-bottom: 36px;
}
#home #from-begining .about #myemail {
  border-color: #bb8b77;
  margin-top: 0;
  margin-bottom: 45px;
  display: inline-block;
  color: #535353;
  text-transform: uppercase;
  font-family: 'Slabo 13px', serif;
  letter-spacing: 0.2em;
}
#home #from-begining .about #myemail span {
  color: #802000;
}
#home #from-begining .about .img-right {
  text-align: right;
}
#home #from-begining .about .img-right  img{
  max-width: 100%;
  height: auto;
}
#home #from-begining .offset-custom {
  /*padding-left: 100px;*/
  text-align: right;
}
#home #from-begining .col-custom-inner {
  width: 70%;
  text-align: left;
  display: block!important;
  margin-left: 30%;
}
#home #from-begining .inside-time-line .vertical {
  top: 300px;
  height: calc(100% - 300px);
  min-height: inherit;
}
#home #from-begining .inside-time-line .date {
  top: 250px;
  margin-right: -5px;
  max-width: 80px;
}
#home #from-begining .inside-time-line .date .point {
  display: block;
  margin-left: 65px;
}

@media (max-width: 449px) {
  #home #from-begining h1 {
    font-size: 60px;
    margin-top: -6px;
    padding-bottom: 23px;
    line-height: 1.1;
  }
}
@media (min-width: 450px) and (max-width: 474px) {

  #home #from-begining h1 {
    font-size: 72px;
    margin-top: -32px;
    padding-bottom: 23px;
    line-height: 1.1;
  }

}

@media (max-width: 474px) {
  #home #from-begining .col-custom-inner {
    width: 100%;
    margin: auto;
  }
  #home #from-begining h1 > span:first-of-type {
    font-size: 35px;
    left: 0px;
    top: 20px;
  }
  #home #from-begining .about #mycv {
    padding: 45px 35px;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
  }
}
@media (min-width: 475px) and (max-width: 490px) {
  #home #from-begining h1 {
    font-size: 72px;
    margin-top: -32px;
    padding-bottom: 23px;
    line-height: 1.1;
  }
}
@media (min-width: 491px) and (max-width: 767px) {
  #home #from-begining h1 {
    font-size: 72px;
    margin-top: -45px;
    padding-bottom: 23px;
    line-height: 1.1;
  }
}
@media (min-width: 474px) and (max-width: 767px) {
  #home #from-begining h1 > span:first-of-type {
    font-size: 35px;
    left: -25px;
    top: 20px;
  }
  #home #from-begining .col-custom-inner {
    width: calc(100% - 30px);
    margin-left: 30px;
  }
  #home #from-begining .about #mycv {
    padding: 45px 55px;
    /*margin-top: 55px;*/
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
  }
}


@media (max-width: 767px) {
  #home #from-begining .about #myemail {
    margin-bottom: 10px;
  }
  #home > section .capital {
    margin-top: 110px;
    max-width: 50%;
  }
  #home > section {
    width: 100%!important;
  }
  main#home {
    width: 100%!important;
    transform: translateX(0)!important;
  }
  main#home > section {
    height: auto;
    overflow: auto;
  }
  main#home > section > .inner-section {
    position: relative;
  }
  #home > section .time-line {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  #home #from-begining h1 {
    font-size: 72px;
    margin-top: -50px;
    padding-bottom: 23px;
    line-height: 1.1;
  }
  #home #from-begining h1 > span:first-of-type {
    font-size: 35px;
    left: -25px;
    top: 20px;
  }
  #home #from-begining .col-custom-inner {
    width: 70%;
    margin: auto;
  }
}
@media (max-width: 991px) {
  .col-custom-50 {
    width: 100%;
    float: none;
    display: block;
    padding: 15px;
  }
  #home #from-begining .row.about {
    display: block;
    table-layout: fixed;
    height: 100%;
    width: 100%;
  }
  #home #from-begining .about [class^="col-"] {
    display: block;
    float: none;
    height: 100%;
  }

}
@media (min-width: 768px) and (max-width: 1240px) {
  #home > section .capital {
    position: absolute;
  }
  #home #from-begining .about #mycv {
    padding: 20px 55px;
    margin-top: 55px;
    margin-bottom: 65px;
  }
}
@media (max-width: 1240px) {


}
@media (min-width: 992px) and (max-width: 1240px) {
  #home #from-begining h1 {
    font-size: 72px;
    margin-top: -50px;
    padding-bottom: 23px;
    line-height: 1.1;
  }
  #home #from-begining h1 > span:first-of-type {
    font-size: 35px;
    left: -25px;
    top: 20px;
  }
  #home #from-begining .about p {
    line-height: 52px;
    margin-top: 20px;
  }
}
@media (min-width: 1241px) and (max-width: 1680px) {
  #home #from-begining h1 {
    font-size: 102px;
  }
  #home #from-begining h1 > span:first-of-type {
    font-size: 55px;
    left: -60px;
    top: 20px;
  }
}

#home > section.we .capital {
  overflow: inherit;
  top: 86px;
  left: -110px;
}
@media (max-width: 767px) {
  #home > section.we .capital {
    overflow: inherit;
    top: 240px;
    left: 0px;
  }
}
#home > section.we .body header .position-info {
  width: calc(100% - 235px);
}
/*  SECTION Exp 1 */
/*  SECTION Exp 2 */
/*  SECTION Exp 3 */
/*  SECTION Exp 4 */
#home > section#we4 .text {
  position: relative;
}
#home > section .text .bg-image {
  position: absolute;
  top: -400px;
  left: -770px;
  background: url("../img/we4.png") center / cover no-repeat;
  width: 1415px;
  height: 1080px;
  z-index: -1;
}
/*  SECTION Exp 5 */
#home > section#we5 .next .dates .from {
  max-width: 90%;
}
#home > section#we5 .next .dates .from .year {
  font-size: 24px;
}
/*  SECTION Exp 6 */
#home > section#we6 .next .dates .from {
  max-width: 100%;
}
#home > section#we6 .next .dates .year {
  font-size: 20px;

}
/*  SECTION Education */
#home > section#education .body header > div {
  margin-bottom: 95px;
}
#home > section#education .body header {
  border-bottom: none;
}
#home > section#education .body header .position-info .info-wrapper:last-of-type {
  margin-top: 40px;
}
#home > section#education .body header .position-info .info-wrapper {
  line-height: 32px;
}
#home > section#education .dates .from .year,
#home > section#education .dates .to .year {
  color: #3f3f3f;
}
#home > section#education .border-left {
  border-left-color: #acaba5;
}


/* #home after all !!! */
@media (max-width: 767px) {
  #home > section .body header .position-info {
    width: 100%!important;
  }
  #home > section .body header .position-info h1 {
    font-size: 40px!important;
    width: 100%;
    display: block;
  }
  #home > section#we5 .text img {
    max-width: 100%;
    height: auto;
  }
}
/* --- POSTS Page --- */
#home > section#post .body header > div {
  margin-bottom: 60px;
}
#home > section#post .body header .position-info {
  width: calc(100% - 100px);
}
#home > section#post .body header .position-info h1 {
  margin-bottom: 0;
  display: inline-block!important;
  width: auto;
  margin-right: 25px;
}
#home > section#post .body header .position-info .view-more {
  background: url("../img/arrow-r.png") center no-repeat;
  padding: 15px;
  border: 2px solid red;
  width: 44px;
  height: 35px;
  display: inline-block;
  transition: background-color 0.3s ease;
}
#home > section#post .body header .position-info .view-more:hover {
  background-color: #f2e8e5;
}
#home > section#post .body header .position-info .info-wrapper {
  line-height: 32px;
}
#home > section#post .body header  div .position-info .info-wrapper {
  margin-top: 0px;
}
#home > section#post .body header  div .position-info .info-wrapper > a {
  display: block;
}
#home > section#post .body header  div .position-info .info-wrapper img {
  margin-top: 30px;
}

#home > section#post .border-left {
  border-left-color: #acaba5;
}
#home > section#post .body header .dates {
  vertical-align: top;
  min-width: 80px;
}
#home > section#post .body header .dates * {
  color: #62615d;
  font-family: 'Playfair Display', serif;
  display: block;
  text-align: center;
  line-height: 1.2;
}
#home > section#post .body header .dates .day {
  font-size: 36px;
  font-weight: bold;
}
#home > section#post .body header .dates .month,
#home > section#post .body header .dates .year {
  font-size: 18px;
  text-transform: uppercase;
}
#home > section#post .heading {
  font-size: 40px;
}

/* --- POST VIEW Page --- */
#home > section#post-view .border-right {
  border-right-color: #acaba5;
}
#home > section#post-view .body header .dates * {
  color: #62615d;
  font-family: 'Playfair Display', serif;
  display: block;
  text-align: center;
  line-height: 1.2;
}
#home > section#post-view .body header {
  border-bottom: none;
}
#home > section#post-view .body header .dates .day {
  font-size: 36px;
  font-weight: bold;
}
#home > section#post-view .body header .dates .month,
#home > section#post-view .body header .dates .year {
  font-size: 18px;
  text-transform: uppercase;
}
#home > section#post-view .body header .position-info h1 {
  color: #444444;
  margin-bottom: 65px;
}
#home > section#post-view .body header .main-img {
  margin-bottom: 60px;
}
#home > section#post-view .body header .position-info {
  width: 100%;
  padding: 0;
}
#home > section#post-view .body header .text p {
  margin-bottom: 35px;
}
#home > section#post-view .back-to-posts {
  padding: 35px 0;
  padding-left: 30px;
  background: url("../img/arrow-l.png") center left no-repeat;
  border-top: 1px solid #acaba5;
  border-bottom: 1px solid #acaba5;
  width: 100%;
  display: block;
  color: #802000;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
#home > section#post-view .heading {
  font-size: 40px;
}
@media (max-width: 767px) {
  #home > section#post-view .body header .dates {
    border: none;
    margin-bottom: 20px;
    border-bottom: 1px solid #acaba5;
    padding-bottom: 10px;
  }
  #home > section .body header .dates .year {
    color: #303030;
  }
  #home > section#post-view .body header .dates * {
    text-align: left;
    display: inline-block;
    margin-right: 20px;

  }
  #home > section#post-view .body header .article-info > div {
    text-align: left;
    margin-bottom: 10px;
  }
}

/* --- CONTACTS Page --- */

#home > section#contacts .inside {
  width: 100%;
  display: block;
}
#home > section#contacts .heading {
  font-size: 40px;

}
#home #contacts h1 {
  font-size: 86px;
  color: #62615d;
  font-family: 'Playfair Display', serif;
  line-height: 1;

  position: relative;
  z-index: 2;
  padding-bottom: 33px;
  display: inline-block;
  margin-left: 22%;
  margin-top: 80px;
}
#home #contacts h1 > span:first-of-type {
  font-size: 55px;
  font-style: italic;
  position: relative;
  left: -100px;

  top: 20px;
}
#home #contacts h1 > span:last-of-type {
  display: block;
}
@media (max-width: 490px) {
  #home #contacts h1 {
    font-size: 62px;
    margin-left: 0;
    line-height: 1.3;
  }
  #home #contacts h1 > span:first-of-type {
    left: 0;
  }
}
#home > section#contacts .social {
  border: 1px solid #c74114;
  margin-top: 105px;
  margin-bottom: 80px;
  padding: 30px 10px;
  padding-bottom: 10px;
  display: block;
  text-align: center;
  font-size: 20px;
  color: #535353;


}
#home > section#contacts .social img {
  margin-right: 18px;
}
#home > section#contacts .social img,
#home > section#contacts .social span {
  margin-bottom: 20px;
  vertical-align: middle;
  display: inline-block;
}
#home > section#contacts .body h2 {
  color: #62615d;
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-style: italic;
  margin-top: 0;
  margin-bottom: 70px;
}

#home > section#contacts .form-control {
  border: none;
  box-shadow: none;
  border-radius: 0;
  border: 1px solid transparent;
  border-bottom-color: #acaba5;
  background: none;
  padding: 30px 10px;
  margin-bottom: 30px;
}
#home > section#contacts .form-control:focus {
  border: 1px solid #acaba5;
}

#home > section#contacts ::-webkit-input-placeholder {
  color: #802000;
  text-transform: uppercase;
  font-size: 12px;
}

#home > section#contacts :-moz-placeholder { /* Firefox 18- */
  color: #802000;
}

#home > section#contacts ::-moz-placeholder {  /* Firefox 19+ */
  color: #802000;
}

#home > section#contacts :-ms-input-placeholder {
  color: #802000;
}

#home > section#contacts .send {
  border: none;
  box-shadow: none;
  border-radius: 0;
  border: 1px solid #cb3604;
  background: none;
  padding: 20px 60px;
  margin-top: 12px;
  color: #802000;
  font-size: 12px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
#home > section#contacts .send:hover {
  background-color: #f2e8e5;
}
@media (max-width: 991px) {
  #home > section#contacts .body .right img {
    max-width: 100%;
    height: auto;
  }
}