.content {
  max-width: 1600px;
  width: 87%;
  margin: 0 auto;
}
.i-container section {
  padding: 60px 0;
}
.i-container a {
  text-decoration: none;
}
.home-block {
  background-image: url(https://chatoptimizer.com/wp-content/uploads/2019/08/1.jpg);
  background-repeat: no-repeat;
  background-position: top;
}
.home-block p {
  max-width: 870px;
}
.i-container h1 {
  font-family: "HelveticaNeueCyr", sans-serif;
  font-weight: bold;
  font-size: 23px;
  color: #131313;
}
.i-container .btn-green {
  display: inline-block;
  width: 170px;
  padding: 15px;
  border: 0;
  outline: none;
  border-radius: 5px;
  background: #2ab030;
  color: #ffffff;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  -webkit-transition: background 0.5s, -webkit-transform 0.4s ease-in-out;
  transition: background 0.5s, -webkit-transform 0.4s ease-in-out;
  -o-transition: background 0.5s, -o-transform 0.4s ease-in-out;
  transition: background 0.5s, transform 0.4s ease-in-out;
  transition: background 0.5s, transform 0.4s ease-in-out, -webkit-transform 0.4s ease-in-out, -o-transform 0.4s ease-in-out;
}
.i-container p {
  font-family: "HelveticaNeueCyr", sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: #131313;
  margin: 35px 0;
}
.i-container .btn-green:hover,
i-container .btn-green:active {
  background: #258629;
}
.sort-menu > .content {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	grid-gap: 2vw;
}
.sort-item {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-flow: row nowrap;
      -ms-flex-flow: row nowrap;
          flex-flow: row nowrap;
  padding: 20px;
  border: 2px solid #e6e6e6;
  cursor: pointer;
  -webkit-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
	width:100%;
  height: 130px;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.sort-item:hover {
  background-color: #e6e6e6;
}
.sort-item:after {
  content: "";
  position: absolute;
  display: block;
  width: -webkit-calc(100% + 4px);
  width: calc(100% + 4px);
  height: 0;
  background: #2ab030;
  bottom: 0;
  left: -2px;
  -webkit-transition: height 0.2s ease-in-out;
  -o-transition: height 0.2s ease-in-out;
  transition: height 0.2s ease-in-out;
}
.sort-item.active:after {
  height: 10px;
}
.sort-icon {
  border-right: 2px solid #e6e6e6;
  height: 100%;
  width: 193px;
  position: relative;
}
.sort-icon:after {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}
.sort-read .sort-icon:after {
  background: url(https://chatoptimizer.com/wp-content/uploads/2019/08/interview.svg)
    no-repeat -160px -36px;
  width: 82px;
  height: 71px;
}
.sort-view .sort-icon:after {
  background: url(https://chatoptimizer.com/wp-content/uploads/2019/08/interview.svg)
    no-repeat -40px -36px;
  width: 81px;
  height: 70px;
}
.sort-title {
  font-size: 19px;
  letter-spacing: 0px;
  line-height: 1.2;
  color: #131313;
  font-family: "HelveticaNeueCyr", sans-serif;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  margin: auto;
}
.experts-box .content {
  position: relative;
	margin: 40px auto;
	display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-gap: 2vw;
/*   display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-flow: row wrap;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
  -webkit-box-pack: justify;
  -webkit-justify-content: flex-start;
      -ms-flex-pack: justify;
          justify-content: flex-start; */
}
.expert {
  width: 100%;
  height: 315px;
  margin-bottom: 20px;
	max-width: 379px;
}
.expert-inner {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  border: 2px solid #e6e6e6;
  text-align: center;
  margin-bottom: 20px;
  overflow: hidden;
  -webkit-transition: width 0.4s ease-in-out, height 0.4s ease-in-out,
    margin 0.4s ease-in-out, -webkit-transform 0.4s ease-in-out;
  transition: width 0.4s ease-in-out, height 0.4s ease-in-out,
    margin 0.4s ease-in-out, -webkit-transform 0.4s ease-in-out;
  -o-transition: width 0.4s ease-in-out, height 0.4s ease-in-out,
    margin 0.4s ease-in-out, -o-transform 0.4s ease-in-out;
  transition: width 0.4s ease-in-out, height 0.4s ease-in-out,
    margin 0.4s ease-in-out, transform 0.4s ease-in-out;
  transition: width 0.4s ease-in-out, height 0.4s ease-in-out,
    margin 0.4s ease-in-out, transform 0.4s ease-in-out, -webkit-transform 0.4s ease-in-out, -o-transform 0.4s ease-in-out;
}
.expert:hover .expert-inner {
  width: 110%;
  height: 115%;
  -webkit-transform: translate(-10px, -10px);
      -ms-transform: translate(-10px, -10px);
       -o-transform: translate(-10px, -10px);
          transform: translate(-10px, -10px);
}
.expert:hover {
  z-index: 2;
}
.expert-btn.btn-green {
  width: 171px;
  height: 40px;
  border-radius: 5px;
  line-height: 1.2;
  padding: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  margin: auto;
  margin-top: 10px;
  -webkit-transform: translateY(300px);
      -ms-transform: translateY(300px);
       -o-transform: translateY(300px);
          transform: translateY(300px);
}
.expert:hover .expert-btn.btn-green {
  -webkit-transform: translateY(0px);
      -ms-transform: translateY(0px);
       -o-transform: translateY(0px);
          transform: translateY(0px);
  margin-bottom: 10px;
}
.expert-photo {
  width: 100%;
  height: 200px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.expert-photo.photo-TM {
  background-image: url(https://chatoptimizer.com/wp-content/uploads/2019/09/рпапр.jpg);
}
.expert-photo.photo-EV {
  background-image: url(https://chatoptimizer.com/wp-content/uploads/2019/09/Вигнанюк.jpg);
}
.expert-photo.photo-MM {
  background-image: url(https://chatoptimizer.com/wp-content/uploads/2019/09/rtgyr.jpg);
}
.expert-photo.photo-AP {
  background-image: url(https://chatoptimizer.com/wp-content/uploads/2019/09/рпногпнеку.jpg);
}
.expert-photo.photo-KG {
  background-image: url(https://chatoptimizer.com/wp-content/uploads/2019/09/уке6г789765.jpg);
}
.expert-photo.photo-RK {
  background-image: url(https://chatoptimizer.com/wp-content/uploads/2019/09/ff-2.jpg);
}
.expert-photo.photo-ES {
  background-image: url(https://chatoptimizer.com/wp-content/uploads/2019/09/рнепакв.jpg);
}
.expert-photo.photo-GBS {
  background-image: url(https://chatoptimizer.com/wp-content/uploads/2019/09/31697330_2547408485484591_7630478557801611264_n-1.jpg);
}
.expert-photo.photo-NK {
  background-image: url(https://chatoptimizer.com/wp-content/uploads/2019/09/какк.jpg);
}
.expert-photo.photo-KD {
  background-image: url(https://chatoptimizer.com/wp-content/uploads/2019/09/пернгш.jpg);
}
.expert-photo.photo-EK {
  background-image: url(https://chatoptimizer.com/wp-content/uploads/2019/09/gg.jpg);
}
.expert-photo.photo-SL{
	background-image: url(https://chatoptimizer.com/wp-content/uploads/2019/09/апнгшгнеку.jpg);
}
.expert hr {
  width: 54px;
  height: 2px;
  background-color: #2ab030;
  border: 0;
  margin: 10px auto;
}
.expert-details {
  width: 100%;
  height: -webkit-calc(100% - 200px);
  height: calc(100% - 200px);
  padding: 10px;
}
.expert-name {
  text-transform: uppercase;
  font-weight: bold;
  color: #111111;
  font-size: 16px;
}
.expert-title {
  color: #6f6f6f;
  font-size: 14px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.expert:hover .expert-title{
	-webkit-line-clamp: 4;
}
.expert-icon {
  width: 280px;
  height: 200px;
  margin-right: 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.expert-header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-flow: row wrap;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
}
.expert-description h1 {
  font-size: 16px;
  margin: 15px 0 20px 0;
  color: #111111;
}
.expert-header hr {
  width: 54px;
  height: 2px;
  background-color: #2ab030;
  border-top: 0;
  margin: 0;
}
.expert-header p {
  font-size: 14px;
  letter-spacing: 0px;
  color: #6f6f6f;
  font-weight: 300;
  margin: 30px 0;
}
.expert-header .btn-back {
  width: auto;
  padding-left: 50px;
  position: relative;
}
.btn-back.btn-green:before {
  content: "";
  position: absolute;
  display: block;
  width: 24px;
  height: 21px;
  top: 0;
  left: 15px;
  bottom: 0;
  background: url(https://chatoptimizer.com/wp-content/uploads/2019/08/interview.svg)
    no-repeat -40px -155px;
  margin: auto;
}
.expert-list {
  padding-left: 21px;
}
.expert-list-item {
  position: relative;
  color: #252525;
  font-size: 18px;
  -webkit-transition: color 0.2s ease-in-out;
  -o-transition: color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out;
  cursor: pointer;
  text-decoration: none;
}
.expert-list-item:before {
  content: "";
  position: absolute;
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2ab030;
  left: -20px;
  top: 8px;
}
.expert-list + .expert-list {
  margin-top: 25px;
}
.expert-list-item:hover {
  color: #258629;
}
@media only screen and (max-width : 1200px){
	.experts-box .content{
		grid-template-columns: repeat(3,1fr);
	}
/* 	.expert {
		width: -webkit-calc(50% - 10px);
		width: calc(50% - 10px);
	  } */
}
@media only screen and (max-width: 768px) {
	.sort-menu > .content {
		grid-template-columns: repeat(2,50%);
		grid-gap: 2vw;
	}
	.sort-item.active:after {
		height: 5px;
	}
	.experts-box .content{
		grid-template-columns: repeat(2,1fr);
	}
}
@media only screen and (max-width: 480px) {
/*   .expert {
    width: 90%;
    margin: 10px auto;
  } */
	.experts-box .content{
		grid-template-columns: repeat(1,1fr);
	}
  .sort-item {
    height: auto;
    padding: 10px;
  }
  .sort-icon {
    border: 0;
  }
  .sort-icon:after {
    left: -15px;
    -webkit-transform: scale(0.5);
        -ms-transform: scale(0.5);
         -o-transform: scale(0.5);
            transform: scale(0.5);
  }
  .sort-title {
    font-size: 12px;
  }
  .home-block {
    background-size: cover;
  }
  .expert:hover .expert-title {
    -webkit-line-clamp: 3;
  }
}
