body {
	padding: 0;
	margin: 0;
	font-family: 'Open Sans',sans-serif;
	background-color: #f9f8f4;
}

a {
	color: #FFA500;
	text-decoration: none;
}

a:hover {
	color: #005580;
}

/* h2 {
    text-transform: uppercase;
}
 */
h2, h3 {
	margin: 0 0 5px;
}

h1, h2, h3, h4 {
	color: #4B4949;
	padding: 0 15px;
}

ul {
	padding: 0 15px;
}

li {
	list-style: none;
}

p {
	padding: 0 15px;
}

.site-content {
	background: transparent;
}

main {
	width: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
}

.content {
	width: 69%;
}

.right-sidebar {
	width: 30%;
}

.content > div,
.right-sidebar > div {
	background-color: #fff;
	padding: 30px 0;
	margin-bottom: 20px;
}


.register-list h2 {
	text-transform: capitalize;
}

.register-list h3 {
	font-weight: 500;
	margin-bottom: 30px;
}

.register-list_wrapper {
	padding: 0 15px;
	font-size: 15px;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	max-height: 1300px;
	align-items: flex-start;
}

.register-list_wrapper span {
	margin-top: 15px;
}

.calc form {
	width: auto;
	padding: 0 15px;
}

.calc .inputs {
	width: 100%;
	margin-bottom: 20px;
	display: flex;
	justify-content: center;
	align-items: flex-end;
}

.calc .inputs label {
	width: 33%;
}

.calc .inputs label span {
	display: block;
	color: #4B4949;
	font-weight: bold;
	font-size: 14px;
}

.calc .inputs label input {
	width: auto;
	padding: 10px 15px;
	font-weight: bold;
	border-radius: 5px;
	border: 1px solid #d7d7d7;
}
.calc .inputs label select {
	width: auto;
	padding: 10px 15px;
	font-weight: bold;
	border-radius: 5px;
	border: 1px solid #d7d7d7;
}

.calc .button {
	text-align: center;
}

.calc button {
	display: inline-block;
	padding: 4px 12px;
	margin-bottom: 0;
	font-size: 18px;
	line-height: 29px;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	color: #333;
	text-shadow: 0 1px 1px rgba(255,255,255,0.75);
	background-color: #f5f5f5;
	background-image: -moz-linear-gradient(top,#fff,#e6e6e6);
	background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));
	background-image: -webkit-linear-gradient(top,#fff,#e6e6e6);
	background-image: -o-linear-gradient(top,#fff,#e6e6e6);
	background-image: linear-gradient(to bottom,#fff,#e6e6e6);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe5e5e5', GradientType=0);
	border-color: #e6e6e6 #e6e6e6 #bfbfbf;
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    border: 0px solid #bbb;
	border-bottom-color: #a2a2a2;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);

	color: #fff;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
	background-color: #006dcc;
	background-image: -moz-linear-gradient(top,#cc0000,#cc0000);
	background-image: -webkit-gradient(linear,0 0,0 100%,from(#cc0000),to(#cc0000));
	background-image: -webkit-linear-gradient(top,#cc0000,#cc0000);
	background-image: -o-linear-gradient(top,#cc0000,#cc0000);
	background-image: linear-gradient(to bottom,#00be2e,#00be2e);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0043cc', GradientType=0);
	border-color: #0044cc #0044cc #002a80;
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

.calc button:hover {
	color: #333;
	text-decoration: none;
	background-position: 0 -15px;
	-webkit-transition: background-position .1s linear;
	-moz-transition: background-position .1s linear;
	-o-transition: background-position .1s linear;
	transition: background-position .1s linear;
	color: #fff;
	background-color: #0bda51;
}

.comments h2 {
	text-transform: capitalize;
	display: inline-block;
}

.comments a {
	display: inline-block;
	float: right;
	padding: 9px 10px;
	background: #00be2e;
	color: #fff;
	border-radius: 5px;
	margin-right: 15px;
	font-size: 14px;
}

.comments a:hover {
	background: #12a636;
}

.owl-carousel {
	margin-top: 15px;
	text-align: center;
}

.owl-carousel h3 {
	color: #000;
}

.owl-carousel h4 {
	font-size: 14px;
}

.owl-carousel p {
	padding: 0 80px;
}

.owl-carousel span {
	color: #a5a5a5;
}

.owl-nav {
	width: 100%;
	position: absolute;
	top: 50%;
}

.owl-nav i {
	font-size: 30px;
	font-weight: 200;
	opacity: 0.5;
}

.owl-prev {
	float: left;
	padding-left: 15px;
}

.owl-next {
	float: right;
	padding-right: 15px;
}

.right-sidebar .link h2 {
	font-size: 20px;
	text-align: center;
	font-weight: 500;
}

.right-sidebar .link li {
	margin-bottom: 5px;
}

.right-sidebar .link a {
	font-weight: 500;
}

.right-sidebar .tutorial h2 {
	font-size: 19px;
	text-align: center;
}

.right-sidebar .tutorial .video {
	width: auto;
	padding: 0 15px;
}

.right-sidebar .tutorial .video iframe {
	width: 100%;
	height: 170px;
}
/*Начало мод.окна*/
.clearfix:after {
	content: '';
	display: block;
	clear: both;
}

#modalwin {
	border: 1px solid black;
	position: fixed;
	left: calc(50% - 256px);
	z-index: 3;
	display: none;
	text-align: center;
	background: #fff;
	overflow: hidden;
	
	
}
#windows {
	padding: 5px;
	width: 500px;
	height: 400px;
	
}

#pay {
	
	background: #fff;
	position: absolute;
	left: 37%;
	top: 20%;
	z-index: 3;
	display: none;
	font-family: Roboto;


}
#b {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: none;
	background: grey;
	z-index: 1;
}

#pay input[type=submit] {
	display: block;
	margin: 60px auto 0;
	border: 1px solid #0041ca;
	background: repeating-linear-gradient(to bottom, rgb(23, 149, 209) 0%, rgb(0, 99, 204) 50%, rgb(0, 69, 205) 100%);
	font-size: 16px;
	color: white;
	padding: 15px 40px;
	border-radius: 4px;
	font-family: Roboto;
	font-weight: bold;
}

a.pages {
	border-radius: 4px;
	display: block;
	float: left;
	margin-right: 15px;
	color: white;
	padding: 13px 0;
	text-decoration: none;
	width: 129px;
	border: 1px solid #0041ca;
	background: repeating-linear-gradient(to bottom, rgb(23, 149, 209) 0%, rgb(0, 99, 204) 50%, rgb(0, 69, 205) 100%);
	font-size: 16px;
	font-family: Roboto;
	font-weight: bold;
}

.cross {
	display: block;
	float: right;
	font-size: 30px;
	text-decoration: none;
	color: #003fb7;
	margin-right: 5px;
	font-family: Roboto;
}

.back {
	display: block;
	float: left;
	font-size: 30px;
	text-decoration: none;
	color: #003fb7;
	margin-left: 5px;
	font-family: Roboto;
	font-weight: bold;
}

.thanks {
	text-align: center;
	padding-top: 56px;
}

.thanks-text1 {
	display: block;
	font-family: Roboto;
	font-size: 25px;
	font-weight: bold;
	margin-bottom: 5px;
}

.thanks-text2 {
	display: block;
	font-family: Roboto;
	font-size: 21px;

}

.check-next-step {
	padding-top: 76px;
}

.buttons {
	width: 86%;
	margin: 0 auto;
	padding-top: 34px;
	
}
/*Конец мод.окна*/
@media all and (max-width: 1024px) {
	main {
		width: 100%;
		margin: 0;
	}
}

@media all and (max-width: 768px) {

	main {
		flex-direction: column;
	}
/*     .register-list_wrapper{
    max-height: 1200px;
} */
	.content {
		width: 100%;
	}

	.right-sidebar {
		width: 100%;
	}

	.calc .inputs {
		flex-wrap: wrap;
	}

	.calc .inputs label {
		width: 50%;
		margin-bottom: 10px;
	}
/*     .register-list_wrapper{
    max-height: 2100px;
} */
	#modalwin {
		width: 320px;
		left: calc((100% - 320px) / 2);
	}
	.cross {
		margin-right: 25px;
	}
	#windows {
		padding: 5px;
		width: 320px;
	}
	.buttons {
		width: 259px;
	}
	a.pages:first-child {

		padding: 4px !important;
	}
	a.pages {
		border-radius: 4px;
		display: block;
		float: left;
		margin-right: 15px;
		color: white;
		padding: 12px 0;
		text-decoration: none;
		width: 73px;
		border: 1px solid #0041ca;
		background: repeating-linear-gradient(to bottom, rgb(23, 149, 209) 0%, rgb(0, 99, 204) 50%, rgb(0, 69, 205) 100%);
		font-size: 11px;
		font-family: Roboto;
		font-weight: bold;
	}
	.thanks-text1 {

		font-size: 18px;

	}

	.thanks-text2 {

		font-size: 17px;

	}

}

@media all and (max-width: 460px) {
	.calc .inputs label {
		width: 100%;
		margin-bottom: 10px;
	}
/*     .register-list_wrapper{
    max-height: 3100px;
} */
	#modalwin {
		width: 320px;
		left: calc(50% - 160px);
	}
	#windows {
		padding: 5px;
		width: 320px;
	}
	.cross {
		margin-right: 25px;
	}
	a.pages:first-child {

		padding: 4px !important;
	}
	a.pages {
		border-radius: 4px;
		display: block;
		float: left;
		margin-right: 15px;
		color: white;
		padding: 12px 0;
		text-decoration: none;
		width: 73px;
		border: 1px solid #0041ca;
		background: repeating-linear-gradient(to bottom, rgb(23, 149, 209) 0%, rgb(0, 99, 204) 50%, rgb(0, 69, 205) 100%);
		font-size: 11px;
		font-family: Roboto;
		font-weight: bold;
	}
	.thanks-text1 {

		font-size: 18px;

	}

	.thanks-text2 {

		font-size: 17px;

	}


	.calc .inputs label input {
		width: 90%;
	}
}
@media all and (max-width: 320px)
{
	#modalwin {
		width: 320px;
		left: 0;
	}
	.register-list_wrapper{
		max-height: 3100px;
	}
}