main {
  margin-top: 300px;
}

main h1 {
  display: inline-block;
  margin-bottom: 50px;
  font-size: 3.3rem;
  line-height: 4.2rem;
  font-weight: 700;
  color: #4475e6;
}

main h1.element-anime:before {
  background: #fff;
}

.contact {
  margin-bottom: 100px;
}

.contact__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.contact__row:nth-child(1) {
  -webkit-box-flex: 1;
  -ms-flex: 1 0 350px;
  flex: 1 0 350px;
}

.contact__row:nth-child(1) img {
  margin-left: 90px;
  border-radius: 50%;
}

.contact__row:nth-child(1) h2 {
  position: relative;
  margin-top: 40px;
  margin-bottom: -100px;
}

.contact__row:nth-child(2) {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 0 50px;
}

.contact__row {
  font-size: 1.5rem;
  line-height: 1.9rem;
  color: #4475e6;
}

.contact__row h2 {
  font-size: 2rem;
  line-height: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

h2.contact__title {
  font-size: 3.3rem;
  line-height: 4.2rem;
  font-weight: 700;
  color: #f5df88;
}

.contact__row p {
  margin-bottom: 20px;
}

.contact .pin,
.contact .tel,
.contact .email {
  margin-bottom: 5px;
}

.contact .pin:before,
.contact .tel:before,
.contact .email:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  width: 39px;
  height: 39px;
  background: url(../../image/sprite.svg) no-repeat;
}

.contact .pin:before {
  background-position: -76px -164px;
}

.contact .tel:before {
  background-position: -1px -164px;
}

.contact .email:before {
  background-position: -39px -164px;
}

.contact .dropmore {
  margin-top: auto;
}

#map_1,
#map_2 {
  width: 425px;
  height: 425px;
}

.dropmore {
  -ms-flex-item-align: start;
  align-self: flex-start;
  position: relative;
  display: inline-block;
  padding: 15px 50px;
  font-size: 1.5rem;
  line-height: 2.2rem;
  color: #fff;
  background: #4475e6;
  -webkit-transition: background 0.5s ease;
  transition: background 0.5s ease;
  cursor: pointer;
}

.dropmore.active {
  background: #f1e09b;
}

.dropmore:after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 28px;
  margin: 0 0 -8px 15px;
  background: url(../../image/sprite.svg) no-repeat -3px -60px;
  -webkit-transform: translateX(0);
  transform: translateX(0);
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}

.dropmore.active:after {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.dropmore:hover {
  background: #f1e09b;
}

.dropmore-expand {
  display: none;
  font-size: 1.5rem;
  line-height: 1.9rem;
  color: #4475e6;
  margin-left: 350px;
  padding: 50px;
}

.dropmore-expand a{
	color: #f5df88;
}

.dropmore-expand a:hover{
	text-decoration:underline;
}

.dropmore-expand p {
  margin-bottom: 10px;
}

.dropmore-expand.active {
  display: block;
}

.dropmore-desktop {
  display: block
}

.dropmore-mobile {
  display: none;
}

@media(max-width:1366px) {
  .dropmore-desktop {
    display: none
  }

  .dropmore-mobile {
    display: inline-block;
  }

  .contact__wrap {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
  }

  .contact__row {
    width: 50%;
  }

  .contact__row:nth-child(1) {
    -webkit-box-flex: unset;
    -ms-flex: unset;
    flex: unset;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-flow: row-reverse;
    flex-flow: row-reverse;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }

  .contact__row:nth-child(1) img {
    margin-right: -90px;
    margin-left: 0
  }

  .contact__row:nth-child(3) {
    width: 100%;
    margin: 50px 0;
  }

  #map_1 {
    width: 100%;
  }

  .dropmore-expand {
    margin-left: 0;
    padding: 20px 0;
  }
}

@media(max-width:1024px) {
  main {
    margin-top: 100px;
  }
	
  .contact__row h2 {
  line-height: 2rem;
	}
}

@media(max-width:992px) {
  .contact__row:nth-child(2) {
    padding: 0;
    margin-bottom: 0;
  }

  .contact__row {
    width: 100%;
    margin-bottom: 50px;
  }

  .contact .pin,
  .contact .tel,
  .contact .email {
    padding-left: 40px;
  }

  .contact .pin:before,
  .contact .tel:before,
  .contact .email:before {
    margin-left: -45px;
  }
}
