.artist-first-block .sidebar-bottom {
  width: 127px;
  height: 175px;
  border-left: 1px solid #7f7f7f;
  margin-left: -2px;
  margin-top: 5px;
  align-self: flex-end;
}

.artists-represent {
  margin: 85px 0;
}

/* select for mobile */

.select-mob {
  display: none;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 27px;
  text-transform: uppercase;
  position: relative;
  cursor: pointer;
}

.select-mob p:after {
  content: '';
  border: 6px solid transparent;
  border-top: 7px solid #000;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -20px;
  top: 28px;
}

.select-mob img {
  margin-right: 18px;
  width: 47px;
  height: 47px;
}

.dropdown-list {
  width: 100%;
  position: absolute;
  left: 50px;
  top: 43px;
  background-color: #fff;
  z-index: 2;
  -webkit-box-shadow: 0px 5px 21px 2px rgba(117, 117, 117, 0.27);
  -moz-box-shadow: 0px 5px 21px 2px rgba(117, 117, 117, 0.27);
  box-shadow: 0px 5px 21px 2px rgba(117, 117, 117, 0.27);
  padding-left: 0;
  border-radius: 3px;
  ;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
}

.dropdown-list li {
  transition-duration: 0.3s;
  cursor: pointer;
}

.dropdown-list li:hover {
  background-color: #e2e2e252;
  transition-duration: 0.3s;
}

.dropdown-list li a {
  display: block;
  font-size: 20px;
  font-weight: 400;
  line-height: 27px;
  text-transform: uppercase;
  margin: 0;
  padding: 20px 10px;
  display: block;
}

/* artist-nav */

.artist-first-block {
  width: 265px;
}

.artist-nav>div:not(:last-child), .artist-info>div:not(:last-child) {
  border-right: 1px solid #7f7f7f;
}

.artist-nav .sidebar-bottom {
  border-left: none;
  position: relative;
  width: auto;
}

.artist-nav .share {
  left: 15px;
  bottom: 40px;
}

.artist-nav .social-icons {
  width: auto;
  bottom: 38px;
}

.artist-nav .social-icons img {
  margin-bottom: 0;
  margin-left: 20px;
}

.artist-nav .vertical-text {
  min-height: 300px;
  max-height: 380px;
  text-align: right;
}

.title-h1 {
  margin-bottom: 14px;
}

.artist-nav .sidebar .vertical-text .title-h1 {
  text-align: right;
}

.artist-work {
  width: calc(100% - 125px - 265px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.artist-picture {
  display: flex;
  justify-content: flex-end;
  margin-right: -1px;
}

.artist-nav-list {
  padding-left: 0;
  margin: 0;
}

.vertical-text .title-h1 {
  margin: 0 25px 0 10px;
  font-size: 20px;
  text-align: right;
  line-height: 1.2;
}

.vertical-text .title-h3 {
  line-height: 1.2;
}

.sidebar .vertical-text .title-h1 {
  text-align: left;
}

.artist-nav-item {
  margin-bottom: 50px;
  font-size: 20px;
  font-weight: 400;
  line-height: 20px;
  text-transform: uppercase;
  letter-spacing: 1.33px;
}

/* artist bio */

.artist-info .vertical-text {
  margin-right: 63px;
  height: auto;
}

.artist-exhibitions-list .artist-exhibitions-item:first-child .artist-exhibitions-item-year p {
  margin-top: 0;
}

.artist-bio-info {
  position: relative;
}

.artist-bio-info p:first-child {
  margin-top: 0;
}

.artist-bio {
  width: calc(100% - 125px);
  padding: 65px 20px 65px 0;
  position: relative;
  justify-content: initial;
}

.artist-bio:before {
  content: '';
  width: 4px;
  height: 3px;
  position: absolute;
  background-color: #fff;
  top: -2px;
  right: 0;
}

.artist-bio:after {
  content: '';
  width: 3px;
  height: 4px;
  position: absolute;
  background-color: #fff;
  top: 0;
  right: -3px;
}

.artist-bio-text {
  font-size: 16px;
  line-height: 22px;
  margin-top: 0;
}

.showText {
  height: 100%;
}

.artist-info .title-h1 {
  margin-right: 0;
}

.artist-info .read-more {
  position: absolute;
  font-size: 14px;
  font-weight: 700;
  line-height: 27px;
  text-transform: uppercase;
  cursor: pointer;
  bottom: 60px;
  width: auto !important;
}

.artist-info .read-more {
  position: static;
}

.read-more span {
  padding: 0 12px;
}

.artist-info .read-more:before {
  content: '';
  width: 147px;
  height: 4px;
  background-color: #000;
  vertical-align: middle;
  display: inline-block;
}

.read-more:after {
  content: '\25BC';
  font-size: 12px;
}

.readmore-js-expanded+.read-more:after {
  content: "\25B2"
}

/*text fading*/

.artist-info .readmore-js-collapsed:after {
  content: "";
  position: absolute;
  bottom: -2px;
  width: 100%;
  height: 35px;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 75%)
}

/* artist-exhibitions*/

.artist-exhibitions {
  padding-bottom: 65px;
  font-size: 16px;
  width: calc(100% - 125px);
  padding-right: 20px;
}

.artist-exhibitions .read-more {
  margin-top: 50px;
}

.artist-exhibitions-list {
  position: relative;
  margin-bottom: 20px;
}

.artist-exhibitions-list .artist-exhibitions-item>p:first-child {
  margin-top: 0;
}

.artist-exhibitions-list .read-more {
  bottom: -10px;
}

.artist-exhibitions-item-year {
  font-weight: 700;
}

.artist-exhibitions>div {
  flex: 1;
  justify-content: flex-start;
}

/* social-icons */

.social-icons {
  display: none;
  transition: 0.3s;
  width: 17px;
  text-align: center;
  transition: 0.3s;
  position: absolute;
  bottom: 5px;
  left: 25px;
  z-index: 2;
  background: #fff;
}

.social-icons img {
  margin-bottom: 13px;
  cursor: pointer;
}

.social-icons img:hover {
  opacity: 0.7;
}

.sidebar-bottom:hover .social-icons {
  display: block;
}

.share {
  position: absolute;
  bottom: 25px;
  left: 25px;
  cursor: pointer;
}

/* btn */

.btn {
  width: 210px;
  height: 50px;
  border: 2px solid #000000;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 50px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
}

.artist-work .btn {
  border: none;
  width: 240px;
  margin: 25px 0;
}

.artist-work .btn:after {
  content: url(../img/btn-arrow.png);
  position: absolute;
  top: 50%;
  right: -35px;
  transform: translateY(-50%);
}

.btn:before {
  content: '';
  width: 10px;
  height: 2px;
  background-color: #fff;
  position: absolute;
  top: -2px;
}

.artists-pics-item-img-vertical-wrapper {
  width: 180px;
  height: 260px;
  position: relative;
  float: right;
}

.artists-pics-item-img-wrapper {
  width: 360px;
  height: 260px;
  position: relative;
}

.artists-pics-item-img-wrapper:hover::after {
  content: '';
  position: absolute;
  left: 50%;
  background: rgba(0, 0, 0, .5) url(../img/image-on.png) no-repeat center;
  z-index: 101;
  pointer-events: none;
  height: 120px;
  width: 120px;
  margin-left: -60px;
  top: 50%;
  margin-top: -60px;
}

.artists-pics-item-img-vertical-wrapper:hover::after {
  content: '';
  position: absolute;
  left: 50%;
  background: rgba(0, 0, 0, .5) url(../img/image-on.png) no-repeat center;
  z-index: 101;
  pointer-events: none;
  height: 120px;
  width: 120px;
  margin-left: -60px;
  top: 50%;
  margin-top: -60px;
}

.fancybox-button--zoom {
  display: none !important;
}

.fancybox-toolbar {
  top: 40px !important;
  right: 75px !important;
  font-size: 60px !important;
}

.fancybox-button {
  background: none !important;
}

.fancybox-button svg {
  width: 50px !important;
  height: 50px !important;
  color: #fff !important;
}

.image-zoom {
  opacity: 0;
  visibility: hidden;
  transition-duration: 0.3s;
  height: 0;
}

.image-zoom.active {
  opacity: 1;
  visibility: visible;
  position: fixed;
  bottom: 15%;
  width: 100%;
  max-width: 780px;
  left: 50%;
  transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
  -moz-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
  z-index: 100000;
  height: auto;
}

/* input range styles */

input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  margin: 13.8px 0;
}

input[type=range]:focus {
  outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 7px;
  cursor: pointer;
  background-color: #535353;
}

input[type=range]::-webkit-slider-thumb {
  width: 26px;
  height: 26px;
  background-color: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -10px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
  background-color: #535353;
}

input[type=range]::-moz-range-track {
  width: 100%;
  height: 7px;
  cursor: pointer;
  background-color: #535353;
}

input[type=range]::-moz-range-thumb {
  height: 26px;
  width: 26px;
  background: #fff;
  cursor: pointer;
}

input[type=range]::-ms-track {
  width: 100%;
  height: 7px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

input[type=range]::-ms-fill-lower {
  background-color: #535353;
}

input[type=range]::-ms-fill-upper {
  background-color: #535353;
}

input[type=range]::-ms-thumb {
  height: 26px;
  width: 26px;
  background: #fff;
  cursor: pointer;
}

input[type=range]:focus::-ms-fill-lower {
  background-color: #535353;
}

input[type=range]:focus::-ms-fill-upper {
  background-color: #535353;
}

@media(min-width: 770px) {
  .artists_exhibitions_wrapper {
    column-count: 2;
    column-gap: 96px;
  }
}

.artist-bio-container {
  border-right: 1px solid #7f7f7f;
}

.artist-bio-containerartist-bio:before, .artist-bio-container.artist-bio:after {
  display: none;
}

.artists_exhibitions_list {
  height: 240px;
}

@media all and (min-width: 768px) {
  .readmore-js-section {
    padding-right: 30px;
  }
}

/* vertical-text */

@media all and (max-width: 768px) {
  .artist-info.wrapper {
    padding-left: 30px;
  }
  .artist-bio-info p:first-child, .artist-exhibitions-list .artist-exhibitions-item:first-child .artist-exhibitions-item-year p {
    margin-top: 20px;
  }
  .artist-exhibitions .read-more {
    margin-top: 77px;
  }
  .artist-info .readmore-js-collapsed:after {
    height: 150px;
  }
  /* .artist-bio .readmore-js-collapsed:after {
    height: 40px;
  } */
  .artist-exhibitions {
    padding-bottom: 12px;
  }
  .artist-nav .title-h3 {
    margin-right: 0;
  }
  .artist-nav .title-h1 {
    margin-left: 0;
    margin-right: 10px;
  }
  .wrapper.artist-nav {
    padding: 0 16px 0 30px;
  }
  .artist-first-block {
    width: 197px;
  }
  .artist-info .title-h1 {
    margin: 0;
  }
  .artist-picture>img {
    width: 100%;
    min-width: 320px;
  }
  .artist-work {
    width: calc(100% - 125px);
  }
  .artist-picture {
    display: block;
    margin-left: 75px;
  }
  .artist-nav .social-icons img {
    margin-left: 15px;
  }
  .artist-bio, .artist-exhibitions {
    width: calc(100% - 11px);
    justify-content: inherit;
  }
  .artist-exhibitions {
    flex-direction: column;
  }
  .artist-exhibitions>.flx {
    justify-content: inherit;
    position: relative;
  }
  .artist-exhibitions>div, .artist-bio {
    padding-bottom: 75px;
  }
  .artist-info .vertical-text+div {
    margin-top: -20px;
  }
  .sidebar {
    width: 53px;
  }
}

@media all and (max-width: 640px) {
  .wrapper {
    padding-right: 0;
    padding-left: 30px;
  }
  .artists-represent {
    margin: 50px 0;
  }
  header {
    padding-right: 30px;
  }
  .select-mob {
    display: inline-flex;
    margin: 26px 0;
  }
  .artist-nav .sidebar .vertical-text .title-h1 {
    text-align: center;
  }
  .readmore-js-collapsed:after {
    height: 130px;
  }
  .artist-exhibitions .read-more {
    margin-top: 0;
  }
  .artist-bio .read-more {
    margin-top: 30px;
  }
  .artist-bio, .artist-exhibitions {
    width: calc(100% - 40px);
  }
  .artist-work {
    width: calc(100% - 42px);
    padding-bottom: 20px;
  }
  .artist-nav .title-h3 {
    margin: 0;
  }
  .artist-nav .vertical-text {
    position: absolute;
    bottom: 110px;
    right: 0;
    height: auto;
    writing-mode: inherit;
    transform: inherit;
    -webkit-transform: inherit;
    -moz-transform: inherit;
    -ms-transform: inherit;
    -o-transform: inherit;
    -webkit-writing-mode: inherit;
    -ms-writing-mode: inherit;
    width: calc(100vw - 45px);
    text-align: center;
    min-height: initial;
    max-height: initial;
  }
  .sidebar .vertical-text .title-h1 {
    text-align: center;
    margin: 0;
  }
  .artists-pics-item-img-wrapper {
    margin: 0 auto;
  }
  .artist-work .btn {
    position: absolute;
    bottom: 0;
    right: 135px;
  }
  .artist-picture {
    margin-left: 0;
  }
  .artist-first-block {
    visibility: hidden !important;
    width: 0 !important;
    min-width: 0 !important;
  }
  .artist-nav .sidebar-bottom {
    position: absolute;
    bottom: 0;
    right: -5px;
    width: 30px;
    visibility: visible;
    z-index: 10;
  }
  .artist-nav .social-icons {
    left: 0;
    bottom: 70px;
  }
  .artist-nav .sidebar {
    width: 25px;
    height: 60px;
    align-self: flex-end;
    border-left: 1px solid #7f7f7f;
  }
  .artist-nav>.artist-work:not(:last-child) {
    border-right: none;
  }
  .artist-nav .social-icons img {
    margin-left: 0;
    margin-bottom: 15px;
  }
  .social-icons a {
    display: block;
  }
  .sidebar:hover .social-icons {
    display: block;
  }
  .artist-bio, .artist-exhibitions>div.flx {
    flex-direction: column;
  }
  .artist-info .vertical-text {
    writing-mode: initial;
    transform: inherit;
    height: auto;
    -webkit-writing-mode: initial;
    -ms-writing-mode: initial;
    -webkit-transform: inherit;
    -moz-transform: inherit;
    -ms-transform: inherit;
    -o-transform: inherit;
    margin-right: 0;
  }
  .artist-bio {
    padding: 30px 20px 10px 0;
  }
  .artist-exhibitions {
    padding-bottom: 0;
  }
  .artist-info .vertical-text .title-h1 {
    text-align: center;
    margin: 0 0 40px 0;
  }
  .artist-info .read-more {
    position: static;
  }
  .artist-exhibitions>div, .artist-bio {
    padding-bottom: 55px;
  }
  .artists-pics-item-img-vertical-wrapper {
    width: 100%;
    height: auto;
  }
  .sidebar {
    width: 54px;
  }
}

@media all and (max-width: 425px) {
  .artist-work {
    width: calc(100% + 45px);
  }
  .artist-bio, .artist-exhibitions {
    width: calc(100% - 18px);
  }
  .artist-nav .sidebar {
    width: 23px;
  }
  .artist-nav .sidebar-bottom {
    right: 0;
  }
  .artist-info .read-more:before {
    width: 30%;
  }
  .artist-work .btn {
    left: 0;
    right: auto;
  }
  .artist-work .btn:after {
    right: -30px;
  }
  header {
    margin-bottom: 55px;
  }
  .artists-represent {
    margin-top: 55px;
    margin-bottom: 45px;
  }
}

@media all and (max-width: 320px) {
  .artist-picture>img {
    min-width: calc(100vw - 60px);
  }
  .artist-info .read-more:before {
    width: 50px;
  }
  .btn-group {
    margin-left: -20px;
  }
}
.artist-work .artists-pics-item-img {
  max-width: 98%;
  margin: 0 auto;
}
.artists-pics-item-img-wrapper {
  width: auto;
  height: auto;
  position: relative;
}

.artists-pics-item-img-wrapper-hor img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 560px;
}

.artists-pics-item-img-wrapper-ver img {
  width: auto;
  max-width: 100%;
  max-height: 560px;
  height: auto;
}

/*NEW*/

@media all and (max-width: 1440px) {
  .artist-bio, .artist-exhibitions {
    width: calc(100% - 95px);
  }
  .artist-work {
    width: calc(100% - 95px - 265px);
  }
}

@media all and (max-width: 920px) {
  .artist-first-block {
    width: 200px;
    min-width: 200px;
  }
  .artist-work {
    width: calc(100% - 95px - 200px);
  }
}

@media all and (max-width: 860px) {
  .btn-group {
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media all and (max-width: 768px) {
  .artist-work {
    width: calc(100% - 65px - 200px);
  }
  .artist-bio, .artist-exhibitions {
    width: calc(100% - 65px);
  }
  .wrapper.artist-nav {
    padding: 0 0 0 30px;
  }
}

@media all and (max-width: 640px) {
  .artist-work {
    width: 100%;
  }
  .artist-bio:before {
    right: -1px;
  }
}

@media all and (max-width: 425px) {
  .artist-bio, .artist-exhibitions {
    width: calc(100% - 45px);
  }
}