html, body {
	margin: 0;
	padding: 0;
	font-family: 'Menlo Regular';
}

@font-face {
	font-family: 'Menlo Regular';
	font-style: normal;
	font-weight: normal;
	src: local('Menlo Regular'), url('Menlo-Regular.woff') format('woff');
}

#main_background {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-image: url(images/bg.png), url(images/bg.png);
    background-repeat: no-repeat;
    background-position: -150px -150px, calc(100% + 100px) calc(100% + 100px);
    height: 100%;
}

#header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 11px;
	height: 56px;
	line-height: 34px;
	box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background: #FFF;
    border-bottom: 1px solid #bdbdbd;
}

#h_b {
	float:right;
	height: 32px;
}

.h_b_a_1 {
	background: #000;
	display: inline-block;
	color: #FFF !important;
	text-decoration: none;
	height: 32px;
	line-height: 32px;
	vertical-align: top;
	padding: 0 15px;
	border-radius: 15px;
	font-size: 12px;
	letter-spacing: 0.5px;
}

.h_b_a_1:hover {
	background: #15c9c8;
}

.h_b_a_2:hover {
	background: #0dbe7b;
}

.h_b {
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    margin-top: -5px;
    height: 16px;
}

.h_b_1_1 {
	width: 16px;
	height: 16px;
}

#h_l {
	padding-left: 10px;
	float:left;
}

#h_l img,
#h_l span {
	vertical-align: middle;
}

#h_l span {
	margin-left: 0px;
	font-size: 14px;

}

#main_container {
	left: 50%;
    top: 50%;
    margin-top: 20px;
    transform: translate(-50%,-50%);
    position: absolute;
    text-align: center;
    width: 100%;
    height: 540px;
    max-width: 526px;
    box-shadow: 0px 10px 20px rgba(0,0,0,0.32);
    background: #FFF;
}

#main_logo {
	width: 60px;
	height: 60px;
	display: block;
	background: url(images/logo.png) center center no-repeat;
	background-size: 100%;
	margin: 40px auto 25px;
}

#logo_text {
	margin: 0;
	font-size: 20px;
	text-align: center;
}

#main_text {
	margin: 30px auto 30px auto;
	font-size: 25px;
	line-height: 1.7;
    padding: 0 20px;
    letter-spacing: -0.5px;
}

#main_phone {
	width: 420px;
	height: 100px;
	display: block;
	margin: -35px auto 0 auto;
}

.block-logos-buttons {
	margin-top: 10px;
}

.block-logos-buttons a {
	display: inline-block;
	margin: 0 20px;
}

#footer {
	position: fixed;
	bottom: 5px;
	width: 100%;
	text-align: center;
}

.terms #footer {
	position: relative;
	bottom: auto;
	padding-top: 30px;
	padding-bottom: 5px;
}

#footer a {
	text-decoration: none;
	color: gray;
	font-size: 12px;
	margin: 0 15px;
}

#footer a:hover {
	color: #000;
}

#comming {
	font-size: 24px;
}

/* Terms */
#main_page {
	width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding: 30px 50px;
}

#main_info {
    padding-top: 30px;
}

#main_info p {
	line-height: 1.5;
}

#main_info h2,
#main_info h3 {
	padding-top: 20px;
}

#main_info ul li {
	line-height: 1.8;
}

.g_a,
.i_a {
	width: 162px;
    height: 48px;
    display: block;
    padding-bottom: 10px;
    margin: auto;
}

.g_svg,
.i_svg {
	width: 162px;
    height: 48px;
    display: block;
}

@media (max-height: 670px) and (min-width: 751px) {
	#main_text { font-size: 22px; }
	#main_container {
	    height: 530px;
	}
}

@media (max-height : 650px) and (min-width: 751px) {
	#main_container {
		transform: none;
		position: relative;
		top: auto;
		left: auto;
		margin: 78px auto 0;
	}

	#main_logo {
		padding-top: 40px;
		background-position: center 40px;
	}

	#footer {
	    position: relative;
    	bottom: 25px;
	    padding-top: 90px;
	}
}

@media (max-width : 750px) {
	#main_container {
		height: auto;
		background: transparent;
		box-shadow: none;
		transform: none;
		position: relative;
		top: auto;
		left: auto;
		margin: 150px auto 0;
	}

	#main_background {
		background-position: -180px -180px, calc(100% + 200px) calc(100% + 200px);
	}

	#logo_text,
	#comming {
		font-size: 16px;
	}

	#main_text {
		font-size: 24px;
		text-align: left;
    	width: 280px;
    	padding-right: 0;
	}

	#main_phone {
		display: none;
	}

	#main_page {
		    padding: 30px 30px;
	}

	#main_text span {
		display: block;
	}
}

@media (max-width : 450px) {
	#main_container {
		height: 540px;
		transform: translate(-50%,-50%);
		position: absolute;
		top: 50%;
		left: 50%;
		margin: 20px 0 0 0;
	}

	#main_background {
		background-position: -180px -200px, calc(100% + 200px) calc(100% + 200px);
	}

	.terms #footer a {
		margin: 0 8px;
	}

	#comming iframe {
		zoom: 0.8;
	}

	#comming {
		margin-top: -30px;
	}
}