/* ==================================================================================
	 1: ÐœÐ¾Ð´Ð°Ð»ÑŒÐ½Ð¾Ðµ Ð¾ÐºÐ½Ð¾
   ================================================================================== */
.md-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	max-width: 850px;
	min-width: 320px;
	//z-index: 2000;
	visibility: hidden;
	-webkit-transform: translateX(-50%) translateY(-50%);
	   -moz-transform: translateX(-50%) translateY(-50%);
	    -ms-transform: translateX(-50%) translateY(-50%);
	        transform: translateX(-50%) translateY(-50%);
}

.md-show {
	visibility: visible;
}
     /*
.md-modal-apply + .md-overlay {
	z-index: 1600;
}      */

.md-modal-scroll {
	height: 90%;
	max-width: 900px;
	//z-index: 1500;
}

.md-modal-scroll .md-content {
	overflow: auto;
	width: 100%;
	height: 100%;
	max-width: none;
	padding: 20px 50px 30px 50px;
}

/*--------- ÐœÐ¾Ð´Ð°Ð»ÑŒÐ½Ð¾Ðµ Ð¾ÐºÐ½Ð¾ - Ð—Ð°ÐºÑ€Ñ‹Ñ‚Ð¸Ðµ ---------*/
.md-close {
    position: absolute;
    top: 4px;
    right: 4px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    padding: 10px;
    text-decoration: none;
    -webkit-transition: all .3s;
   	   -moz-transition: all .3s;
		    transition: all .3s;
}

.md-close svg {
	display: block;
	fill: #000;
    -webkit-transition: all .3s;
   	   -moz-transition: all .3s;
		    transition: all .3s;
}

.md-close:hover svg {
    fill: #f00;
}

/*--------- ÐœÐ¾Ð´Ð°Ð»ÑŒÐ½Ð¾Ðµ Ð¾ÐºÐ½Ð¾ - Ð—Ð°Ð´Ð½Ð¸Ð¹ Ñ„Ð¾Ð½ ---------*/
.md-overlay {
	position: fixed;
	visibility: hidden;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
//	z-index: 1000;
	opacity: 0;
	background: #0e1930;
	cursor: pointer;
/*	-webkit-transition: all 0.3s;
	   -moz-transition: all 0.3s;
	  		transition: all 0.3s;       */
}

.md-overlay.md-show {
	opacity: .8;
	visibility: visible;
}

/*--------- ÐœÐ¾Ð´Ð°Ð»ÑŒÐ½Ð¾Ðµ Ð¾ÐºÐ½Ð¾ - ÐÐ½Ð¸Ð¼Ð°Ñ†Ð¸Ñ Ð¾ÐºÐ½Ð° ---------*/
.md-modal .md-content {
	opacity: 0;
/*	-webkit-transform: scale(0.7);
	   -moz-transform: scale(0.7);
		-ms-transform: scale(0.7);
			transform: scale(0.7);
	-webkit-transition: all 0.3s;
	   -moz-transition: all 0.3s;
			transition: all 0.3s;    */
}

.md-show.md-modal .md-content {
	opacity: 1;
/*	-webkit-transform: scale(1);
	   -moz-transform: scale(1);
		-ms-transform: scale(1);
			transform: scale(1);    */
}

/*--------- ÐœÐ¾Ð´Ð°Ð»ÑŒÐ½Ð¾Ðµ Ð¾ÐºÐ½Ð¾ - ÐšÐ¾Ð½Ñ‚ÐµÐ½Ñ‚ ---------*/
.md-top {
	margin-bottom: 19px;
}

.md-content {
	position: relative;
	background-color: #fff;
	color: #434343;
	text-align: left;
	padding: 25px 68px;
	max-width: 1200px;
	text-align: center;
}

.md-title {
	font-size: 20px;
	font-weight: 600;
	color: #f5832b;
	margin-bottom: 15px;
	text-align: center;
}

.md-title-desk {
	text-align: center;
	color: #000;
	font-size: 15px;
}

.thank {
	display: none;
}

.thank span {
	display: block;
    font-size: 16px;
    color: #000;
}

.thank span:first-child {
	display: block;
    color: #FF7E00;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
}

.md-product {
	text-align: left;
	color: #000;
}

.md-product__h1 {
	font-size: 20px;
	font-weight: 600;
	color: #000;
	margin-bottom: 17px;
	text-align: center;
}

.md-product__img {
	text-align: center;
	margin-bottom: 25px;
}

.md-product__h3 {
	font-size: 15px;
	font-weight: 600;
	color: #000;
	margin-bottom: 10px;
	text-align: center;
}

.md-char {
	display: block;
    width: 50%;
    margin: 0 auto;
    text-align: left;
    overflow: hidden;
    padding-left: 0;
}

.md-char li {
	position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 10px;
}

.md-char__atr {
    position: relative;
    z-index: 9;
    float: left;
    background-color: #fff;
    padding: 0 4px;
    font-size: 12px;
}

.md-char__val {
	position: relative;
    z-index: 9;
    float: right;
    background-color: #fff;
    padding: 0 4px;
    font-size: 12px;
}

.md-char__line {
    position: absolute;
    bottom: 4px;
    z-index: 8;
    left: 0;
    width: 100%;
    height: 1px;
    border-top: 1px solid #000;
}

.md-product__btn {
	margin-top: 15px;
}

/* ==================================================================================
	 2: Form
   ================================================================================== */

.form {
	position: relative;
	width: 100%;
}

.form__input {
	width: 100%;
	height: 38px;
	border: none;
	border: 1px solid #a0a3a4;
	border-radius: 5px;
	padding-top: 0;
	line-height: 30px;
	font-size: 14px;
	color: #434343;
	margin-bottom: 16px;
	background: transparent;	
	outline: none;	
}

.form__input:focus {
	outline: none !important;
	border-color: #f5832b;
}

.form__button {
	margin-top: 5px;
	line-height: normal;
	line-height: 35px;
}

.form__item-label {
	position: absolute;
    left: 0;
    top: 6px;
    white-space: nowrap;
    font-weight: 300;
    font-size: 14px;
    color: #434343;
}

.form__item-a {
	display: inline-block;
    font-size: 12px;
    font-weight: 300;
    color: #434343;
    margin-top: 6px;
}

.form__item-a:hover {
	text-decoration: none;
}

/* ==================================================================================
	 3: Loader
   ================================================================================== */

.loader-wrapper {
    display: none;
    width: 364px;
    -webkit-transition: all .1s linear;
    transition: all .1s linear;
}

.loader {
    display: inline-block;
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #f5832b;
    -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}
 
.loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #f5832b;
    -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
      animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}
 
.loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #f5832b;
    -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
      animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}
 
@-webkit-keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);  /* IE 9 */
        transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);  /* IE 9 */
        transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
    }
}
@keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);  /* IE 9 */
        transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);  /* IE 9 */
        transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
    }
}