@media all and (max-width: 1200px) {
  /* header */
  
  /* #slider {
    padding-top: 50px;
  }

	header {
		height: 140px;
	}

	header .logo-wraper {
		width: 100%;
		height: 34%;
	}

	.logo-wraper .logo {
		margin: 15px auto 0;
	}

	header .menu-wraper {
		width: 100%;
		height: 30%;
	}

	header .contact-wraper {
		width: 100%;
		height: 30%;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.contact-wraper .phone {
		height: auto;
		line-height: normal;
	}

	.contact-wraper .button {
		padding: 5px 25px;
	} */

	/* about */

	#about {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
            align-items: center;
		height: 760px;
  }
  
  #about .image-wrapper {
    right: -170px;
    max-width: 670px;
    position: initial;
  }

  #about .left-block, #about .right-block {
    width: 65%;
  }

  #about .inner {
    right: -120px;
  }

  /* form */

  #form {
    height: 600px;
  }

  #form .right-half {
    float: none;
    width: 100%;
  }

  #form .phone-sign {
    text-align: center;
  }

  #form .phone {
    text-align: center;
  }

  #form .text {
    width: 80%;
    margin: 40px auto;
  }

  #form .text br {
    display: none;
  }

  #form form {
    margin: 0 auto;
  }

  /* ritual */

  #ritual .items,
  #memorial .items {
    min-width: auto;
  }

  #ritual .items .item .item-title, #memorial .items .item .item-title {
    font-size: 16px;
  }

  /* story */

  #story {
    overflow: hidden;
  }

  #story .quote-container {
    margin-top: 80px;
  }

  #story .quote-author {
    width: 100%;
    height: 400px;
    text-align: center;
    background-size: contain;
    margin-bottom: -190px;
  }

  #story .quote-block {
    padding: 0;
    margin-top: 20px;
  }

  #story .quote-block .quote {
    margin-bottom: 20px;
  }

  #story .quote-block .quote p {
    font-size: 16px;
    margin: 0;
  }

  #story .quote-block .video-play {
    display: none;
  }

  #story .timeline .line {
    height: 70px;
    background-position: center bottom;
    background-repeat: no-repeat;
  }

  /* team */

  #numbers {
    height: auto;
    padding-bottom: 30px;
  }

  #our-team .container {
    width: 100%;
    min-width: 100%;
  }

  #numbers .container .num-blocks {
    text-align: center;
  }

  /* reviews */

  #reviews {
    height: auto;
  }

  #reviews .container .single-info {
    margin-left: 0;
    margin-top: 50px;
  }

  /* contacts */

  #contacts .container {
    margin-top: 0;
  }

  #contacts .container .half {
    margin-top: 30px;
  }

  #contacts .container .half form, #footer-form-2, #footer-form-3 {
    margin-left: 0;
    box-sizing: border-box;
  }
}

/* MOBILE 
=======================================================*/

.half br {
  display: none;
}

.button {
  padding: 6px 15px;
  font-size: 16px;
}

#contacts .container .half form .form-header,
#footer-form-2 .form-header,
#footer-form-3 .form-header {
  font-size: 20px;
}

@media all and (max-width: 480px) {
  /* slider */

  #slider {
    height: auto;
    padding-bottom: 50px;
  }

  .space-185 {
    height: 150px;
  }

  #slider .logo {
    width: 130px;
    height: 69px;
  }

  #slider h1 {
    margin-top: 50px;
    font-size: 20px;
  }

  #slider h2 {
    max-width: 300px;
    margin-top: 10px;
    /* margin-bottom: 75px; */
    font-size: 16px;
  }

  /* about */

  #about {
    height: auto;
    padding: 50px 16px;
    box-sizing: border-box;
  }

  #about .left-block {
    margin-bottom: 20px;
  }

  #about .left-block,
  #about .right-block {
    width: 100%;
    height: auto;
  }

  #about .left-block .image-wrapper img,
  #about .right-block .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #about .inner {
    right: 0;
    padding-left: 0;
  }

  #about .image-wrapper {
    right: 0;
    height: 200px;
  }

  #about h3 {
    margin: 25px 0 0;
    padding-right: 0;
    font-size: 20px;
  }

  #about .text {
    max-width: 300px;
    padding-right: 0;
    margin: 10px 0 15px;
    font-size: 14px;
  }

  #about .text br {
    display: none;
  }

  #about .button {
    padding: 6px 15px;
    margin-right: 0;
    font-size: 16px;
  }
  

  /* form */

  #form {
    height: auto;
    padding: 50px 0;
  }

  #form .phone-sign {
    margin-top: 0;
    margin-bottom: 20px;
    color: #fff;
    font-size: 20px;
  }

  #form .phone a {
    font-size: 24px;
  }

  #form .text {
    width: 90%;
    margin-top: 20px;
    text-indent: 15px;
    line-height: 24px;
  }

  #form form {
    width: 90%;
  }
  
  #form form .form-header {
    font-size: 20px;
  }

  /* ritual and memorial */

  #ritual,
  #memorial {
    padding: 50px 0;
  }

  h2.title {
    margin: 0;
    text-transform: uppercase;
  }

  div.under-title {
    width: 90%;
    margin: 0 auto;
    padding: 20px 0;
    font-size: 16px;
    line-height: 24px;
  }

  div.under-title br {
    display: none;
  }

  #ritual .items,
  #memorial .items {
    width: 90%;
    display: flex;
    flex-direction: column;
    /* min-width: 1059px; */
    /* max-width: 1059px; */
    margin: 0 auto;
  }

  #ritual .items .item,
  #memorial .items .item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100px;
    padding: 0;
    margin-left: 0;
    text-align: center;
  }

  #ritual .items .item br,
  #memorial .items .item br {
    display: none;
  }

  #ritual .items .item .item-title,
  #memorial .items .item .item-title {
    margin: 0;
    width: 300px;
    font-size: 20px;
    color: #fff;
  }

  /* phone */

  #phone .phone-ico {
    width: 60px;
    height: 60px;
    background-size: contain;
  }

  .phone {
    margin: 20px;
  }

  #phone .phone a {
    font-size: 24px;
  }

  #phone .phone-sign {
    width: 300px;
    margin: 0 auto;
    font-size: 20px;
  }

  /* story */

  #story {
    position: relative;
    padding: 50px 0;
    /* background-color: pink; */
    height: 1120px;
  }

  #story .timeline {
    position: relative;
    margin-top: 20px;
  }

  #story .timeline br {
    display: none;
  }

  #story .timeline .line {
    position: absolute;
    left: 30px;
    top: 0;
    height: 19px;
    width: 600px;

    transform: rotate(90deg);
    transform-origin: left;
  }

  #story .container .block {
    width: 100%;
  }

  #story .container .block .year {
    position: absolute;
    left: 50px;
    font-size: 24px;
  }

  #story .container .block .text {
    position: absolute;
    left: 50px;
    width: 250px;
    font-size: 14px;
  }

  .year--2003 {
    top: 3px;
  }

  .text--2003 {
    top: 43px;
  }

  .year--2006 {
    top: 120px;
  }

  .text--2006 {
    top: 160px;
  }

  .year--2010 {
    top: 235px;
  }

  .text--2010 {
    top: 275px;
  }

  .year--2013 {
    top: 350px;
  }

  .text--2013 {
    top: 390px;
  }

  .year--2018 {
    top: 460px;
  }

  .text--2018 {
    top: 500px;
  }

  #story .quote-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column-reverse;
    width: 90%;
  }

  .mark--last,
  .quote-text-container br {
    display: none;
  }

  #story .quote-block .quote .quote-text-container span {
    top: 0;
  }

  .quote-text-container {
    padding: 0;
  }

  #story .quote-block .quote > span {
    margin-left: 0;
    margin-top: 15px;
    text-align: right;
  }

  #story .quote-author {
    background-size: contain;
    background-position: 0;
  }

  /* team */

  #our-team {
    padding: 50px 0;
  }

  #our-team .container .team-menu {
    display: none;
  }

  #our-team .container .team-obj .team-photo {
    background-image: none;
    height: auto;
    padding-bottom: 0;
  }

  #our-team .container .team-obj .team-photo img {
    width: 80%;
    margin: 0 auto;
  }

  #our-team .team-obj {
    padding-right: 0;
  }

  #our-team .container .team-obj .team-name {
    margin: 15px 0 5px;
  }

  #our-team .container .team-obj .team-sub {
    width: 300px;
    margin: 0 auto;
  }

  /* numbers */

  #numbers {
    padding: 50px 0;
  }

  #numbers .container {
    margin-top: 40px;
  }

  .num-blocks__text {
    display: none;
  }

  #numbers .container .num-blocks .block {
    padding: 10px 35px;
  }

  #numbers .container .num-blocks .block .img {
    margin-left: 45px;
  }

  #numbers .container .num-blocks .block .img.i3,
  #numbers .container .num-blocks .block .img.i4 {
    margin-left: 55px;
  }

  #numbers .container .num-blocks .block .img.i5 {
    margin-left: 65px;
  }

  #numbers .container .num-blocks .block .img.i8 {
    margin-left: 60px;
  }

  /* reviews */

  #reviews {
    padding: 50px 0;
  }

  #reviews .container .all-photos {
    display: none;
  }

  #reviews .container {
    display: block;
    margin-top: 50px;
  }

  #reviews .container .single-info {
    display: inline-block;
    margin: 0;
    height: auto;
  }

  #reviews .container .single-info .text {
    max-width: 300px;
    margin: 5px auto;
  }

  .reviews__arrows--mobile {
    width: 100px;
    height: 40px;
    margin: 40px auto 0;
  }

  .reviews__left--mobile,
  .reviews__right--mobile {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 40px;
    cursor: pointer;
  }

  .reviews__right--mobile {
    margin-left: 36px;
  }

  .reviews__left--mobile::before,
  .reviews__right--mobile::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    display: block;
    width: 30px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .reviews__left--mobile::before {
    background-image: url(../imgs/arrow_left.png);
  }

  .reviews__right--mobile::before {
    background-image: url(../imgs/arrow_right.png);
    background-position: right;
  }

  /* footer */

  #contacts {
    padding-top: 50px;
  }

  h2.title {
    font-size: 20px;
    padding-top: 0;
  }

  .half br {
    display: block;
  }

  #contacts .container .half {
    width: 90%;
  }

  #contacts .container .half .title {
    font-size: 16px;
  }

  #contacts .container .half .text {
    font-size: 16px;
  }

  #contacts .container .half form,
  #footer-form-2,
  #footer-form-3 {
    width: 100%;
    margin: 0 auto;
  }

  #contacts .map {
    margin-top: 50px;
  }

  #contacts .copyright {
    max-width: 300px;
    height: auto;
    margin: 15px auto;
    line-height: 20px;
  }

  /* modal */
  .fancybox-opened {
    width: 300px !important;
    left: 50% !important;
    transform: translateX(-50%);
  }

  .fancybox-opened .fancybox-inner {
    width: 100% !important;
  }
}

/* @media all and (min-height: 700px) {
  .space-185 {
    height: 70px;
  }
} */
