.agency-card{
	margin: auto;
	text-align: center;
}

.agency-card_title a {
	color: white;

}

.agency-card_title a:hover {
	color: var(--btn-color)!important;
}

.agency-card_title {
	font-size: 1rem!important;
}

.-resp-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center; }

.flat-card_top .-resp-bg-img {
	-webkit-transition: all 1.5s;
	-o-transition: all 1.5s;
	transition: all 1.5s; }

.flat-card_top:hover .-resp-bg-img {
	-webkit-transition: all 2.5s;
	-o-transition: all 2.5s;
	transition: all 2.5s;
	-webkit-transform: scale(1.2);
	-ms-transform: scale(1.2);
	transform: scale(1.2); }

.agency-card_top .-resp-bg-img {
      -webkit-transition: all 1.5s;
      -o-transition: all 1.5s;
      transition: all 1.5s; }

.agency-card_top:hover .-resp-bg-img {
      -webkit-transition: all 2.5s;
      -o-transition: all 2.5s;
      transition: all 2.5s;
      -webkit-transform: scale(1.2);
      -ms-transform: scale(1.2);
      transform: scale(1.2); }

	.preview-demo_img .-resp-bg-img {
    background-position: top center; }

	/*----- 5.17) Agencies component -----*/
.agency-card {
  border: 1px solid #ececec;
  border-radius: 5px;
  background: #fff;
  overflow: hidden;
  text-align: center;
  width: 100%;
  margin-bottom: 30px;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s; }
  .agency-card:hover {
    -webkit-box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1); }
  .agency-card .btn {
    min-width: 140px; }
  .agency-card_top {
    position: relative;
    padding-bottom: 190px;
    overflow: hidden; }
    .agency-card_top:before {
      position: absolute;
      content: '';
      display: block;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.4)), to(rgba(0, 0, 0, 0.4)));
      background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%);
      background-image: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%);
      background-image: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%);
      z-index: 1; }
    .agency-card_top a {
      display: block; }
    .agency-card_top .-resp-bg-img {
      -webkit-transition: all 1.5s;
      -o-transition: all 1.5s;
      transition: all 1.5s; }
    .agency-card_top:hover .-resp-bg-img {
      -webkit-transition: all 2.5s;
      -o-transition: all 2.5s;
      transition: all 2.5s;
      -webkit-transform: scale(1.2);
      -ms-transform: scale(1.2);
      transform: scale(1.2); }
  .agency-card_bot {
    position: relative;
    padding: 20px 25px; }
  .agency-card_logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 30px;
    z-index: 99; }
    .agency-card_logo img {
      max-width: 150px;
      max-height: 100px; }
  .agency-card_title {
    margin-bottom: 5px;
    line-height: 25px;
    font-family: "Nunito Sans"; }
    .agency-card_title a {
      color: #4e4e4e; }
      .agency-card_title a:hover, .agency-card_title a:focus {
        color: #B3A691; }
      .agency-card_title a:active {
        color: #6b6458; }
  .agency-card_descr {
    margin-bottom: 20px;
    font-size: 16px;
    color: #6b6b6b; }

.agenecy-sidebar {
  border: 1px solid #ececec;
  border-radius: 5px;
  overflow: hidden; }
  .agenecy-sidebar_top {
    text-align: center; }
    .agenecy-sidebar_top_img {
      padding-bottom: 250px;
      position: relative; }
    .agenecy-sidebar_top_content {
      padding: 25px;
      background: #fff; }
    .agenecy-sidebar_top_title {
      margin-bottom: 15px; }
  .agenecy-sidebar_bot {
    border-top: 1px solid #e7e7e7;
    padding: 25px;
    background: #f7f7f7; }
  .agenecy-sidebar .agency-phone_list {
    margin-bottom: 20px; }
    .agenecy-sidebar .agency-phone_list .item {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      width: 100%;
      margin-bottom: 5px;
      font-size: 16px;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center;
      line-height: 22px; }
      .agenecy-sidebar .agency-phone_list .item .title {
        color: #171717;
        margin-right: 5px; }
      .agenecy-sidebar .agency-phone_list .item a {
        color: #6b6b6b; }
        .agenecy-sidebar .agency-phone_list .item a:hover, .agenecy-sidebar .agency-phone_list .item a:focus {
          color: #B3A691; }
        .agenecy-sidebar .agency-phone_list .item a:active {
          color: #6b6458; }

@media (max-width: 991px) {
  .agenecy-sidebar_top_img {
    padding-bottom: 56.25%; }
  .agenecy-sidebar_bot {
    padding: 15px; }
  .agency-card_top {
    padding-bottom: 56.25%; }
  .agency-card_bot {
    padding: 25px 20px; } }

@media (max-width: 767px) {
  .agency-card {
    margin-bottom: 15px; } }


