@font-face {
  font-family: "Circe";
  src: url("./fonts/Circe-Regular.ttf") format("ttf"),
  url("./fonts/Circe-Regular.eot") format("eot"),
  url("./fonts/Circe-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
html,
body {
  /* font-family: 'Circe', Arial, Helvetica, sans-serif; */
}
/*.circe-extraBold {*/
/*font-family: 'Circe_extrabold', Arial, Helvetica, sans-serif;*/
/*}*/
/*.circe-bold {*/
/*font-family: 'Circe_bold',  Arial, Helvetica, sans-serif;*/
/*}*/
/*#cards_list {*/
/*font-family: 'Circe',  Arial, Helvetica, sans-serif*/
/*}*/
/*#main-footer {*/
/*font-family: 'Circe_regular', Arial, Helvetica, sans-serif;*/
/*}*/
/* ------- Deputats Modal Content ---------*/
.modal-header h2 {
  margin: 0 0 10px 0;
  max-width: calc(100% - 80px);
  line-height: 1.15;
}
.sessionsBlock {
  margin-bottom: 30px;
}
.review {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 10px;
  font-size: 12px;
  /* flex-direction: column; */
}
.review a {
  color: #333333;
  text-decoration: none;
  display: inline-block;
  border-bottom: 1px solid #333333;
  height: 15px;
  /* margin-top: 5px; */
}
.fb-link-profile {
  margin-top: 5px;
}
.iconWrapper {
  text-align: center;
}
.iconWrapper img {
  height: 100%;
}
.modal-body .icon {
  width: 120px;
  height: 140px;
  background-size: cover;
}
.modal-body .text {
  width: 0;
  padding: 0 10px;
  flex-grow: 1;
}
.common_charts {
  width: 150px;
  margin-top: -8px;
}
.common_charts .barWrapper {
  margin: 0;
}
.barElement {
  height: 18px;
  background-color: #303fe6;
  transition: 0.5s 0.4s ease;
  -webkit-transition: 0.5s 0.4s ease;
  -moz-transition: 0.5s 0.4s ease;
  -o-transition: 0.5s 0.4s ease;
  display: inline-block;
}
.barElement span {
  float: right;
}
.percentTicks {
  font-size: 8px;
}
.percents {
  display: inline-block;
  min-width: 2%;
  font-weight: bold;
  margin-left: 5px;
}
.percents.high {
  margin-left: -37px;
}

.inlineblock {
  display: inline-block;
}
#sessionCharts {
  display: flex;
  align-items: flex-end;
  border-top: 1px solid #a6a6a6;
  border-bottom: 1px solid #a6a6a6;
  position: relative;
}
.ticks_v {
  font-size: 10px;
  width: 25px;
  align-self: center;
  position: relative;
  background-color: white;
}
.line {
  position: absolute;
  height: 1px;
  width: 100%;
  background-color: #a6a6a6;
}
.ticks_v div {
  position: absolute;
}
#sessionCharts .barElement {
  width: 10%;
  transition: 0.5s 0s ease;
  -webkit-transition: 0.5s 0s ease;
  -moz-transition: 0.5s 0s ease;
  -o-transition: 0.5s 0s ease;
  margin-right: 1px;
  background-color: #303fe6;
  position: relative;
  text-align: center;
  opacity: 0.85;
}
#sessionCharts .barElement span {
  position: absolute;
  margin: 0 auto;
  bottom: -20px;
  float: none;
  font-size: 12px;
}
.barWrapper {
  margin: 5px 0;
  color: white;
  background-color: #d6d6d6;
  height: 18px;
  position: relative;
  white-space: nowrap;
  font-size: 11px;
  display: flex;
  align-items: flex-end;
}
.modal-container.nf .barWrapper {
  color: #333333;
}
.barWrapper .name {
  position: absolute;
  left: 5px;
}
.half-wrapper {
  width: 49%;
  display: inline-block;
}
.modal-mask.methodology img {
  max-width: 700px;
  width: 100%;
  display: block;
  margin: 0 auto;
}
/* ------- Modal -------------*/
.modal-mask {
  position: fixed;
  z-index: 9998;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .5);
  display: flex;
  transition: opacity .3s ease;
  -webkit-transition: opacity .3s ease;
  -moz-transition: opacity .3s ease;
  -o-transition: opacity .3s ease;
}
.modal-inner {
  max-height: 80vh;
  overflow-y: auto;
  padding: 0 30px;
}
.modal-container {
  max-width: 60vw;
  /* max-height: 90vh; */
  margin: auto;
  padding: 20px 0;
  background-color: #ffffff;
  border-radius: 2px;
  /* box-shadow: 7px 7px green; */
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -o-transition: all .3s ease;
  font-size: 15px;
  position: relative;
  box-sizing: border-box;
}
.modal-header {
  padding: 0 30px;
}
.modalBtn {
  /* width: 25px; */
  /* height: 25px; */
  /* background-color: #bbbbbb; */
  color: #bbb;
  /* border-radius: 50%; */
  /* display: inline-block; */
  /* text-align: center; */
  padding-top: 2px;
  font-size: 20px;
  /* box-sizing: border-box; */
  cursor: pointer;
  margin-left: 10px;
  /* margin-top: 8px; */
}
.navBtn {
  /* background-color: transparent; */
  color: #ffffff;
  position: absolute;
  top: 47vh;
  /* border-top: 18px solid transparent; */
  /* border-bottom: 18px solid transparent; */
  /* width:20px; */
  /* height: 20px; */
  /* padding: 0; */
  display: block;
  z-index: 5;
  /* opacity: 0.8; */
  font-size: 19px;
  border: 1px;
  background: transparent;
}
.navBtn.next {
  /* border-left: 18px solid white; */
  right: -9vw;
}
.navBtn.prev {
  /* border-right: 18px solid white; */
  left: -8vw;
}
.modal_buttons {
  position: absolute;
  right: 20px;
  top: 21px;
  /* width: 100%; */
}

.modal-enter {
  opacity: 0;
}

.modal-leave-active {
  opacity: 0;
}

.modal-enter .modal-container,
.modal-leave-active .modal-container {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .modal-body .text {
    flex-basis: 100%;
    order: 3;
    text-align: justify;
    padding: 0;
  }
  .half-wrapper {
    width: 100%;
  }
  .common_charts {
    flex-grow: 1;
    margin-left: 20px;
  }
}
@media (max-width: 450px) {
  .modal_buttons {
    position: initial;
  }
  .modal-body .text {
    flex-basis: 100%;
    order: 3;
  }
  .iconWrapper {
    margin: 0 auto;
  }
  .modal-header h2 {
    text-align: center;
    max-width: none;
    margin-top: 20px;
    font-size: 19px;
  }
  .common_charts {
    margin-top: 10px;
    width: 100%;
    margin-left: 0;
  }
  .modal-body .text {
    padding: 0;
  }
  h5.working {
    display: inline-block;
    margin-right: 20px;
  }
  h5.working:after {
    content: ":";
  }
  .modal-container {
    box-shadow: none !important;
    max-height: 100vh;
    height: 100vh;
    max-width: 100vw;
    width: 100vw;
    padding: 15px;
  }
  .navBtn.next {
    /* border-left-color: grey; */
    right: 5px;
    color: black;
  }
  .navBtn.prev {
    /* border-right-color: grey; */
    left: -5px;
    color: black;
  }
  .review {
    margin-bottom: 20px;
  }
  .closeBtnWrapper:before {
    /* content: 'До списку депутатів'; */
    cursor: pointer;
    margin-left: 10px;
  }
}
