/* CSS Document */


@media screen and (max-width: 1060px) {
	#mainBox > div .content{
		padding: 0 20px;
	}
	
	div#header .content{
		padding: 20px;
		overflow: visible;
	}
	
	#menu{
		width: 38px;
		text-align: left;
		position: relative;
	}
	#btnMenu{
		display: inline-block;
	}
	#menu ul{
		display: none;
		position: absolute;
    	width: 244px;
		background: #fff;
		top: 52px;
    	left: 0;
		border: 1px solid #ceba80;
		box-sizing: border-box;
		box-shadow: 0 0 30px rgba(0,0,0,0.2);
	}
	#menu li{
		width: 100%;
	}
	#menu li:nth-child(even){
		background: #ECECEC;
	}
	#menu li a{
		margin: 0;
		padding: 5px;
		width: 100%;
    	box-sizing: border-box;
		text-indent: 10px;
	}
	
	#account{
		padding-left: 20px;
	}
	
	#about div.img{
		margin-top: 30px;
	}
	#testimonials ul{
		max-height: 315px;
	}
}

@media screen and (max-width: 780px) {
	h1, h2, h3, h4, h5, h6{
		padding: 10px 0;
	}
	#testimonials li{
		width: 48.9%;
		flex: 48.9%;
	}
	#testimonials li:nth-child(3n+1){
		margin: 1.5% 0 0 1.5%;
	}
	#testimonials li:nth-child(odd){
		margin-left: 0;
	}
}

@media screen and (max-width: 600px) {
	#commissions table{
		font-size: 16px;
		margin-top: 10px;
	}
	#testimonials li{
		width: 100%;
		flex: 100%;
		margin: 1.5% 0 0;
	}
	#testimonials li:nth-child(3n+1){
		margin: 1.5% 0 0;
	}
	#testimonials li:nth-child(odd){
		margin: 1.5% 0 0;
	}
	#footer .content div p{
		display: block;
	}
}

@media screen and (max-width: 520px) {
	#header div#account{
		display: none;
	}
	#menu ul{
		left: -206px;
	}
	#menu li.mobile{
		display: inline-block;
	}
	#intro div.img img {
		max-width: 96px;
	}
}

@media screen and (max-width: 480px) {
	#intro li {
		font-size: 40px;
	}
}

@media screen and (max-width: 420px) {
	body{
		line-height: 30px;
	}
	#intro ul {
		height: 200px;
	}
	#intro li {
		font-size: 26px;
		line-height: 38px;
	}
	#intro a.register{
		font-size: 24px;
	}
	
	h3{
		font-size: 42px;
		line-height: 48px;
	}
	
	#mainBox div.withBg{
		padding-bottom: 0px;
	}
	#mainBox div.withBg:before{
		height: 480px;
	}
	
	#brands div.img img{
		max-width: 80%;
		margin: auto;
	}
	#footer div#paymentLogos img{
		display: block;
    	margin: auto;
		padding: 10px;
	}
	#footer div#icons i{
    	margin: 10px 5px;
	}
}