/* ==========================================================================
   Base Styles, Fonts Import
   ========================================================================== */

	@import url("https://fonts.googleapis.com/css?family=Roboto:400,500&display=swap");

	a{
		text-decoration: none;
	}

/* ==========================================================================
   General styles
   ========================================================================== */

	*{
		box-sizing: border-box;
	}

	html{
		position: relative;
	}

	html, body{
		margin: 0;
		padding: 0;
		min-height: 100%;
	}

	body{
		background-color: #fafafa;
		color: rgba(0, 0, 0, 0.87);
		font-size: 16px;
		font-family: 'Roboto', sans-serif;
		font-weight: 400;
	}

	hr{
		border: 1px solid  #000;
	}

	textarea{
		min-height: 50px;
		min-width: 100%;
		max-width: 100%;
	}

	.hr{
		margin: 20px 0;
	}

	.label{
		font-size: 16px;
		cursor: pointer;
		user-select: none;
	}

	.label-text{
		padding: 10px 15px;
		font-size: 17px;
		font-weight: 500;
	}

	.input-block{
		margin-bottom: 15px;
	}
	.input-block > *{
		display: block;
		width: 100%;
		max-width: 100%;
	}

	input[type="radio"], input[type="checkbox"]{
		cursor: pointer;
	}


	.radio-button{
		display: inline-block;
		width: auto;
		margin-bottom: 10px;
		margin-left: 20px;
	}

	.button{
		font-family: 'Roboto', sans-serif;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
		cursor: pointer;
		outline: 0;
		border: none;
		-webkit-tap-highlight-color: transparent;
		display: inline-block;
		white-space: nowrap;
		text-decoration: none;
		text-align: center;
		margin: 0;
		border-radius: 2px;
		overflow: visible;
	}
	.button:active{
		transform: translateY(1px);
	}

	.main-button{
		box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
		font-weight: 500;
		font-size: 13px;
		letter-spacing: 0.5px;
		text-transform: uppercase;
		min-width: 88px;
		line-height: 36px;
		padding: 0 16px;
		transform: translate3d(0, 0, 0);
		transition: background 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
	}
	.main-button:active{
		transform: translateY(1px) !important;
	}

	.main-bground{
		background-color: #7cfc00;
	}

	.inline-block{
		display: inline-block;
	}

	.input-text{
		font-size: 16px;
		border: 1px solid rgba(0, 0, 0, 0.5);
		border-radius: 20px;
		background-color: #fff;
		transition: all 0.2s ease;
		outline: none;
		padding: 10px 15px;
	}
	.input-text:focus{
		border-color: rgba(0, 0, 0, 0.2);
	}
	.input-text:disabled{
		background-color: rgba(0, 0, 0, 0.1);
	}

	.modal{
		display: none;
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
	}

	.fone{
		display: none;
		position: fixed;
		top: 0;
		bottom: 0;
		right: 0;
		left: 0;
	}

	.fone-main{
		background-color: rgba(0, 0, 0, 0.3);
		z-index: 50;
	}

	.modal-close{
		text-align: center;
		position: fixed;
		z-index: 99;
		right: 0;
		left: 0;
		bottom: 0;
		min-width: 100%;
		padding: 10px;
		background-color: hsla(0, 0%, 100%, 0.8);
		color: rgba(0, 0, 0, 0.4);
		border: none;
		transition: all 0.2s ease;
		outline: none;
		overflow: hidden;
		font-size: 20px;
	}
	.modal-close:hover{
		background-color: #fff;
		color: #f84147;
	}

	.th{
		font-weight: 500;
	}

	.del-bground{
		background-color: #f84147;
	}

	.bottom-panel{
		display: flex;
		flex-direction: row;
		justify-content: flex-end;
		align-items: center;

		width: 100%;
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 100;
		padding: 0 24px;
		height: 64px;
		background-color: #fff;
		box-shadow: 0 0 8px 0 rgba(0,0,0,.35);
	}

	.obligatory{
		padding-left: 5px;
		text-transform: uppercase;
		color: #f00;
		font-weight: 500;
	}

	.step-goto-edit{
		display: block;
		width: 100%;
		margin: 10px auto;
		background-color: #ff0;
	}

	.complete-container{
		width: 100%;
		text-align: center;
	}

	.zakaz-prim{
		width: 100%;
		margin-bottom: 10px;
	}

	.warning-input{
		color: #f00;
		font-weight: 500;
		padding-left: 15px;
		padding-top: 5px;
		font-size: 12px;
	}
	
/* ==========================================================================
   Main zakaz section
   ========================================================================== */

	#zakaz-wrap{
		min-width: 250px;
		max-width: 1000px;
		min-height: 100%;
		margin: 0 auto;
		padding: 10px;
	}
	
	.zakaz-lang{
		height: 10px;
		margin: 0 auto;
		font-size: 16px;
		text-align: center;
	}
	.zakaz-lang .lang-selected{
		color: rgb(150, 150, 150);
	}

	#zakaz-form{
		max-width: 100%;
		width: 100%;
		margin-bottom: 120px;
		padding: 20px 24px;
		border-radius: 2px;
		background-color: #fff;
		box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.22);
	}

	#zakaz-bottom-panel{
		display: flex;
		flex-direction: row;
		justify-content: flex-end;
		align-items: center;

		width: 100%;
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 10;
		padding: 0 24px 44px;
		height: 104px;
		background-color: #fff;
		box-shadow: 0 0 8px 0 rgba(0,0,0,.35);
	}

	#zakaz-bottom-panel .step-back{
		display: none;
		color: rgba(0, 0, 0, 0.54);
		background: 0 0;
		font-weight: 500;
		font-size: 13px;
		letter-spacing: 0.5px;
		text-transform: uppercase;
		margin-right: 8px;
		padding: 0 8px;
		line-height: 36px;
		transition: opacity 0.2s cubic-bezier(0.35, 0, 0.25, 1),background-color 0.2s cubic-bezier(0.35, 0, 0.25, 1);
	}

	#zakaz-bottom-panel .step-back:hover{
		background-color: #0000001f;
	}

	#zakaz-bottom-panel .step-forward{
		color: #000;
	}

	.cost-zakaz-container{
		width: 100;
		max-width: 100%;
		margin: 25px auto 115px;
		text-align: center;
		font-size: 18px;
		font-weight: 500;
		background-color: #fff;
		box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.22);
		padding: 15px;
	}
	.cost-zakaz-in-form{
		margin: 30px 0 0;
		padding-top: 25px;
		border-top: 1px solid #000;
		box-shadow: none;
	}

	#zakaz-form-content{
		display: flex;
		flex-direction: row;
	}

	.zakaz-form-slide{
		display: none;
		width: 100%;
	}

	.zakaz-form-title{
		font-weight: 500;
		font-size: 20px;
		line-height: 28px;
		margin-bottom: 8px;
		white-space: nowrap;
	}

	.fone-increase-photo{
		background-color: rgba(0, 0, 0, 0.8);
		z-index: 150;
	}

	.modal-increase-photo{
		min-width: 250px;
		max-width: 1000px;
		min-height: 100%;
		margin: 0 auto;
		background-color: transparent;
		z-index: 150;
		text-align: center;
	}

	.modal-increase-photo-close{
		color: rgba(255, 255, 255, 0.5);
		background-color: rgba(0, 0, 0, 0.7);
	}
	.modal-increase-photo-close:hover{
		color: #fff;
		background: #000;
	}

	.increase-photo-container{
		position: absolute;
		top: 0;
		width: 100%;
		margin-bottom: 60px;
		padding: 0 20px 20px;
		background-color: rgba(0, 0, 0, 0.6);
		color: #fff;
		text-align: justify;
		font-weight: normal;
	}

	.increase-photo{
		display: block;
		width: 70%;
		margin: 15px auto;
		height: auto;
	}

	/* ==========================================================================
	   Step section
	   ========================================================================== */
		
		#zakaz-stepper-container{
			display: flex;
			flex-direction: row;
			justify-content: flex-start;
			align-items: center;

			font-family: Roboto,"Helvetica Neue",sans-serif;
			height: 72px;
			max-width: 100%;
			margin: 0 -24px;
			white-space: nowrap;
		}

		.zakaz-step{
			display: flex;
			flex-direction: row;
			justify-content: center;
			align-items: center;

			height: 100%;
			text-align: center;
			padding: 0 24px;
			cursor: default;
		}

		.zakaz-step-active .step-icon{
			background-color: #7cfc00;
		}
		.zakaz-step-active .step-label, .zakaz-step-active .step-icon{
			color: #000;
		}

		.step-icon{
			display: inline-block;
			text-align: center;
			vertical-align: middle;
			background-color: rgba(0, 0, 0, 0.38);
			color: #fff;
			margin-right: 8px;
			border-radius: 50%;
			height: 24px;
			width: 24px;
		}

		.step-icon > span{
			vertical-align: middle;
		}

		.step-label{
			display: inline-block;
			vertical-align: middle;
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
			min-width: 50px;
			font-size: 13px;
			font-weight: 500;
			color: rgba(0, 0, 0, 0.38);
		}

		.stepper-horizontal-line{
			display: inline-block;
			vertical-align: middle;
			height: 0;
			min-width: 50px;
			border-top-color: rgba(0, 0, 0, 0.12);
			border-top-width: 1px;
			border-top-style: solid;
			margin: 0 -16px;
		}

/* ==========================================================================
   Media
   ========================================================================== */

   @media screen and (max-width: 520px){
		.stepper-horizontal-line{
			min-width: 25px !important;
		}

		#zakaz-stepper-container .zakaz-step:nth-of-type(n+10), #zakaz-stepper-container .stepper-horizontal-line:nth-of-type(n+10){
			display: none;
		}

		.modal-close{
			padding: 4px;
		}

		.bottom-panel {
			height: 50px;
			justify-content: space-between;
			padding: 5px;
		}

		#tovars-list-container{
			margin-bottom: 60px;
		}
	}

	@media screen and (max-width: 1000px){
		.step-label {
			display: none;
		}

		.step-icon{
			margin: 0 !important;
		}
	}

	@media screen and (min-width: 500px){
		.zakaz-form-edit{
			margin: 0 28px;
		}
	}

	@media screen and (min-width: 750px){
		.zakaz-form-edit{
			margin: 0 56px;
    		padding-bottom: 10px;
		}
	}

   @media screen and (min-width: 1024px){
		#zakaz-bottom-panel {
			position: fixed;
			padding: 0 24px;
			height: 64px;
		}
	}