/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1260px) {
    .container {
        width: 970px;
    }

    /*
     * Header
    */
    .header__item-list {
    	margin: 0;
    	margin-left: 20px;
    	width: auto;
    }

    /*
	 * Главная секция
	*/
	.main-section__images {
		left: 135px;
		z-index: 0;
	}
	.main-section__image-spectascles {
		top: 20px;
		left: 520px;
	}
	.main-section__image-book {
		top: -20px;
		left: 60px;
	}
	.main-section__image-cofee {
		height: 220px;
		left: -40px;
	}

	/*
	 * Как это работает
	*/
	.how-it-work__item {
		width: 200px;
		text-align: center;
	}
	
	/*
	 * Причины работать с нами
	*/
	.reasons__list {
		max-width: 55%;
	}
	.reasons .button {
		position: static;
	}

	/*
	 * Наши правила
	*/
	.rules .container {
		padding: 40px 30px;
	}
	.rules__item:first-child {
		width: 30%;
	}
	.rules__item {
		width: 30%;
		margin-left: 5%;
	}

	/*
	 * Регистрация
	*/
	.left-part {
		left: 0;
	}
	.right-part {
		right: 0;
	}
	.left-part, .right-part {
		width: 350px;
	}
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
	.container {
		width: 730px;
	}

	/*
	 * Header
	*/
	.header__item-list {
		padding-top: 15px;
		margin: 0 auto;
		display: table;
		clear: both;
		float: none;
	}
	
	/*
	 * Главная секция
	*/
	.main-section__form {
		height: 410px;
		width: 100%;
		float: none;
		margin: 0;
		clear: both;
	}
	.main-section__description {
		margin-top: 0;
	}
	.main-section__images {
		left: 218px;
		top: -40px;
	}
	.main-section__image-spectascles {
		top: 80px;
		left: 485px;
	}
	.main-section__image-book {
		top: 20px;
		left: 100px;
	}
	.main-section__image-cofee {
		height: 220px;
		left: -220px;
		bottom: -135px;
	}

	/*
	 * Как это работает
	*/
	.how-it-work__item {
		width: 49%;
	}
	.how-it-work__item-1, .how-it-work__item-2 {
		margin-bottom: 30px;
	}
	.how-it-work__list .arrow-right {
		display: none;
	}

	/*
	 * Причины работать с нами
	*/
	.reasons__list {
		max-width: none;
		margin-bottom: 20px;	
	}
	.reasons__review {
		float: none;
		clear: both;
		width: 100%;
		margin: 0;
	}
	.reasons__review-content {
		width: 80%;
		margin: 0 auto;
		padding: 25px 20px 40px 55px;
		min-height: 250px;
		height: auto;
	}
	.reasons .button {
		float: none;
		margin-left: 0;
	/* }
	.reasons__review-ico { */
		left: 5px;
	}
	#review__list {
		height: 100%;
	}
	.owl-controls {
		position: absolute;
		bottom: -20px;
		width: 100%;
	}

	/*
	 * Наши правила
	*/
	.rules__item, .rules__item:first-child, .rules__item:last-child {
		width: auto;
		margin-left: 0;
		margin-top: 15px;
	}
	.rules__item > p {
		margin: 10px 0;
	}

	/*
	 * Регистрация
	*/
	.registration .form {
		position: relative;
		z-index: 1;
	}
	.left-part, .right-part {
        width: 330px;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	.container {
		width: 94%;
		margin: 0 3%;
	}
	h1 {
		font-size: 40px;
	}

	/*
	 * Header
	*/
	.header__item-list {
		text-align: center;
	}
	.header__item-list .ico {
		position: static;
		margin: 0 auto 10px;
	}
	.header__item-list .header__item {
		float: none;
		padding: 0;
		width: auto;
		margin: 0 0 10px;
		height: auto;
		max-width: 200px;
	}

	/*
	 * Главная секция
	*/
	.main-section__form {
		height: 410px;
		width: 100%;
		float: none;
		margin: 0;
		clear: both;
	}
	.main-section__description {
		float: none;
		width: 100%;
		text-align: center;
	}
	.main-section__description .hr {
		margin: 25px auto;
	}
	.main-section__description p:first-child {
		margin: 0;
	}
	.main-section__description p:last-child {
		width: auto;
		margin: 0 0 20px;
	}
	.main-section__images {
		display: none;
	}

	/*
	 * Как это работает
	*/
	.how-it-work__list {
		margin: 0;
	}
	.how-it-work__item {
		margin-top: 30px;
		width: 51%;
	}
	
	/*
	 * Причины работать с нами
	*/
	.reasons__list {
		margin: 30px 0 30px 0;
	}

	/*
	 * Регистрация
	*/
	.left-part, .right-part {
		width: 305px;
	}
}

@media only screen and (max-width : 680px) {
	/*
	 * Причины работать с нами
	*/
	.reasons__review-content {
		width: 100%;
	}

	/*
	 * Регистрация
	*/
	.left-part > li, .right-part > li {
		visibility: hidden;
	}
	.left-part > li:first-child, .right-part > li:last-child {
		visibility: visible;
	}
}
@media only screen and (max-width : 580px) {
	/*
	 * Регистрация
	*/
	.left-part, .right-part {
		display: none;
	}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
	/*
	 * Header
	*/
	.header__item-list .header__item {
		max-width: none;
		margin: 10px 0;
	}

	/*
	 * Главная секция
	*/
	.main-section p:first-child {
		font-size: 35px;
	}
	.form {
		padding-left: 20px;
		padding-right: 20px;
		width: 100%;
	}
	.form .input, .form .button {
		width: 100%;
	}

	/*
	 * Как это работает
	*/
	.how-it-work__item {
		width: 95%;
	}

	/*
	 * Footer
	*/
	footer {
		text-align: center;
	}
	.footer__right-info p {
		width: auto;
	}
	footer .container > * {
		float: none;
	}
}

@media only screen and (max-width: 400px) {
	/*
	 * Наши правила
	*/
	.rules .container {
		padding: 30px 10px;
	}
	.rules__item, .rules__item:first-child, .rules__item:last-child {
		margin-top: 0;
	}
	.rules__item {
		padding: 10px;
		text-align: center;
	}
	.for-h {
		width: 100%;
	}
	.rules__item-num {
		position: static;
	}
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {
	
}

@media (max-width: 991px) {
    .constructor {
        padding:30px 0
    }
}

@media only screen and (max-width: 1260px) {
    .constructor__selection {
        max-width: 55%;
    }
}

@media only screen and (max-width: 992px) {
    .constructor__selection {
        max-width: none;
    }
}
@media only screen and (max-width: 992px) {
    .constructor__result {
        width: 100%;
        text-align: center;
    }
}
@media (max-width: 991px) {
    .constructor__title {
        margin-bottom:30px
    }
}

@media (max-width: 767px) {
    .constructor__selection {
        text-align:center
    }
}
@media (max-width: 767px) {
    .constructor .result {
        margin-top:30px
    }
}
@media only screen and (max-width: 992px) {
    .constructor .result__wrapper {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 1199px) {
    .constructor .result__wrapper {
        padding:30px
    }
}

@media (min-width: 768px) and (max-width:991px) {
    .constructor .result__wrapper {
        padding:10px
    }
}

@media (max-width: 767px) {
  .constructor .result__wrapper {
    padding:20px;
    text-align: center
  }
}
@media (max-width: 991px) {
  .constructor .result__el .sum {
    font-size:38px
  }
}
@media (max-width: 1199px) {
  #constructor {
      width:100%
  }
}
@media (max-width: 991px) {
  .selection__el+.selection__el {
    margin-top:30px
  }
}
@media only screen and (max-width: 1260px) {
    .selection__item {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
  .selection__item {
    font-size:16px;
    padding-left: 35px
  }
}
@media (max-width: 767px) {
  .selection__item {
    margin:10px
  }
}
@media (max-width: 991px) {
  .selection__item+.selection__item {
    margin-left:10px
  }
}