/* cmsms stylesheet: referral_en modified: 09/17/16 17:18:36 */
/* CSS Document */

body {
  padding-bottom: 0px;
  color: #5a5a5a;
  background:#CCC;
  font: normal 10px 'Open Sans', sans-serif, Arial, Verdana, Helvetica;
}

#header {
	position: absolute;
  right: 0;
  left: 0;
  z-index: 1030;
  background:none;
}

#header .left {
	padding:20px;
}

#header .left img {
		width:58px;
		height:auto;
	}

#header .right {
	padding:24px 12px;
	text-align:right;
}



footer {
	background:#f2f2f2;
}

* {
	outline:0;
}


p {
  font-weight: normal;
  font-family: 'Open Sans', sans-serif;
  color:#313131;
}

h2 {
  font-weight: normal;
  font-family: 'Open Sans', sans-serif;
  font-size:20px;
  line-height:28px;
  margin-right: 10px;
  margin-left: 0px;
}

h3 {
  font-weight: normal;
  font-family: 'Open Sans', sans-serif;
  font-size:14px;
  margin-right: 10px;
  margin-left: 10px;
}



.row-divider {
  margin: 40px 0; /* Space out the Bootstrap <hr> more */
  clear:both;
}

.row-divider-20 {
  margin: 20px 0; /* Space out the Bootstrap <hr> more */
  clear:both;
}

/* NORMAL */

.container {
		width:100%;
  	}

.row {
	margin-left:0px;
	margin-right:0px;
	width:100%;
}

.btn-buy {
	display:block;
	float:right;
	width:60px;
	padding-top:3px;
	padding-bottom:5px;
	background:#f26522;
	color:#FFF;
	font-size:16px;
	line-height:16px;
	font-weight:700;
	text-decoration:none;
	text-align:center;
	border-radius:6px;
}

.btn-buy:hover {
	color:#FFF;
	text-decoration:none;
}

#main {
	clear:both;
	min-height:635px;
}

#main p {
	margin:0px;
}

#main p.txt {
	margin:0px;
	margin-top:30px;
	position: relative;
	font-size:26px;
	line-height:28px;
	color:#FFF;
}

#main p.bottom {
	clear:both;
	text-align:center;
}


#main h1 {
	display:block;
	width:100%;
	color:#FFF;
	padding-top:5px;
	padding-bottom:10px;
	letter-spacing:-1px;
	margin:0px;
	font-size:40px;
	line-height:28px;
	font-weight:700;
}

#main h2 {
	display:block;
	width:100%;
	color:#FFF;
	margin:0px;
	font-size:28px;
	letter-spacing:-1px;
	line-height:28px;
	font-weight:600;
}
	
/*#main .row {
	height:100%;
	position:relative;
	overflow:hidden;
	background:#FFF;
}	*/

#main .row #main-content {
	position:absolute;
	top:200px;
	width:50%;
	margin-left:20px;;
}

#refer .arrow-box {
	margin-top:-80px;
}

#refer .arrow-box div {
	text-align:center;
}



#refer .row {
	background:#e2ddd5;
}
#refer .row div.wow {
	padding:20px;
	
}

#refer .row p {
	font-size:28px;
	color:#000;
	font-weight:700;
}

#refer .row p input {
	font-size:20px;
	color: #555;
	height:auto;
	padding: 15px 10px;
	border:1px solid #5c5b5b;
}

.red_border {
	border:1px solid #FF0000 !important;
}

#refer .first-row {
	padding-top:40px;
}

#refer .second-row {
	padding-top:0px;
}

#refer .second-row hr {
	height:1px; padding:0px; margin:0px 20px; margin-bottom:10px; background:#99928e;
}

#refer .second-row a.btn {
	font-size:20px;
	color:#5c5b5b;
	background:#f4f4f4;
	border:#5c5b5b 1px solid;
	border-radius:4px;
	margin-top:10px;
}


#footer .row p, #footer .row p a {
	color:#FFF;
	font-size:28px;
	text-align:left;
	margin:0px;
	text-decoration:nonel
}

#footer .row p a:hover {
	text-decoration:none;
}

#footer .row {
background:#69615f;
  display: block;
  height: auto;
  padding: 20px;
}



@media only screen 
and (max-device-width : 768px) 
and (orientation : landscape) {
	
	
}

@media (max-width: 767px) {
	
	#refer .arrow-box {
		display:none;
	}
	
	#main {
		min-height:inherit;
	}
	
	#main .row #main-content {
		position: absolute;
		top: 150px;
		width: 50%;
		margin-left: 20px;
	}
	
	
	
	
	#main h1 {
		font-size:28px;
		line-height:28px;
		margin-bottom:20px;
	}
	
	#main h2 {
		font-size:24px;
		line-height:28px;
		padding-bottom: 15px;
	}
	
	#main p.txt {
		font-size:18px;
		line-height:22px;
		margin:0px;
		padding-bottom: 20px;
	}
	
	
	#header .left, #header .right {
	  padding: 15px;
	}
	
	#refer .row div.wow {
		padding: 5px 20px;
	}
	
	#refer .row p {
		font-size: 26px;
		color: #000;
		font-weight: 700;
	}
	
	#refer .second-row hr {
		display:none;
	}
		
}

@media (max-width: 620px) { 
	#main {
		background:#2a2220;
	}
	

	#main .row #main-content {
		width:90%;
		position:relative;
		top:0px;
		
	}

	#main h1 {
		font-size:28px;
		line-height:28px;
		margin-bottom:20px;
		    margin-top: -80px;
	}
	
	#main h2 {
		font-size:24px;
		line-height:28px;
		padding-bottom: 15px;
	}
	
	#main p.txt {
		font-size:18px;
		line-height:22px;
		margin:0px;
		padding-bottom: 20px;
	}
	
	#refer .first-row {
		padding-top: 20px;
	}
	
	#refer .row p input {
		font-size:18px;
		font-weight:600;
	}
	
	#footer .row p {
		font-size:14px;
	}
	
	#footer .row p img {
		height:20px;
	}
	
}
	

	
@media (max-width: 480px) { 
	
	/*#main p img {
		padding-top:50px;
	}*/
	/*
	#main h1 {
		padding-bottom:5px;
	}
	
	#main h2 {
		font-size:16px;
	}*/
	
	/*#main .row #main-content {
		left:25%;
		top:5px;
	}*/
	
	
}

@media (max-width: 420px) { 
	
	#header .left img {
	  width: 42px;
	  height: auto;
	}
	
	#main h1 {
		font-size:26px;
		line-height:28px;
		margin-bottom:20px;
		    margin-top: -80px;
	}
	
	#main h2 {
		font-size:22px;
		line-height:28px;
		padding-bottom: 15px;
	}
	
	#main p.txt {
		font-size:16px;
		line-height:22px;
	}
	
	
	
}

@media (max-width: 380px) { 

	.header_box img {
		width:30%;
		height: auto;
	}
	
	#footer .row p {
		font-size:12px;
	}
	
	#footer .row p img {
		height:16px;
	}	
}
	
@media (max-width: 340px) { 

	
}

@media (min-width: 768px) { 
	
	#refer .arrow-box {
		display:none;
	}
	
	#header .left img {
		width:80px;
		height:auto;
	}
	
	#main .row #main-content {
		top: 150px;
	}
	#main h1 {
		font-size:40px;
		line-height:40px;
	}
	
	#main h2 {
		font-size:30px;
		line-height:36px;
	}
	
	#main p.txt {
		margin: 0px;
		margin-top: 30px;
		position: relative;
		font-size: 22px;
		line-height: 30px;
		color: #FFF;
	}
	
	#refer .row p {
		font-size: 20px;
	}
	
	
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) { 

	#refer .arrow-box {
		display:block;
	}
	
	#header .left img {
		width:104px;
		height:auto;
	}
	
	#main .row #main-content {
		top: 200px;
	}
	
	#main h1 {
		font-size:44px;
		line-height:44px;
	}
	
	#main h2 {
		font-size:34px;
		line-height:40px;
	}
	
	#refer .row p {
		font-size: 28px;
	}

	
	/* old */
	.container {
    	width: 1000px;
		margin:auto;
  	}
	
	.header_box {
		width: 1000px;
	}
	
	
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 

	
	#layer-bottom-right {
		padding-top:30px;
		padding-bottom:30px;
	}
	
	
}
