@import url('https://fonts.googleapis.com/css?family=Raleway:400,400i,500,600');
@import url('https://fonts.googleapis.com/css?family=Questrial');


html, body{
	font-family: 'Raleway', sans-serif;
	font-size:16px;
	color:#333333;
	margin:0;
	padding:0;
}

html{
	height:100%;
}

body{
	min-height:100%;
	padding-top:60px;
}

section{
	padding: 4em 0;
	margin:0;
}

	section.green{
		background:#aed744 url('../img/bg-strips.png') 50% 50% no-repeat;
		background-size:cover;
	}
	
	section.gray{
		background:#f7f7f7;		
	}
	
	section.white{
		background:#ffffff;		
	}
	
	
	#promo{
		padding:6em 0;
		position:relative;
	}
	
		#promo h1{
			margin:3em 0 1em;
		}
		
		h3.faded{
			color:#acacac;
		}
		
		
		#promo .container{
			position:relative;
		}

			#promo .container #direction {
				display: block;
				width: 30px;
				height: 30px;
				bottom: -5em;
				left: 50%;
				margin-left: -15px;
				background-color: #fff;
				background-image:url('../img/direction.png');
				background-position: 50% 50%;
				background-repeat: no-repeat;
				border: 2px solid #e3e3e3;
				border-radius: 50%;
				position: absolute;
				cursor:pointer;
			}
	
/* Fonts */	

h1{
	text-align:center;
	font-weight:600;
	margin:0.5em 0 1em;
	font-size:2.25em;
}

h2{
	font-family: 'Questrial', sans-serif;
	text-align:left;
	margin:0.4em 0;
	font-size:1.75em;
}

h3{
	color:#000000;
	font-size:1.5em;
	font-family: 'Questrial', sans-serif;
	text-align:center;
	margin:0;
}

h4{
	font-size:1.25em;
	font-weight:500;
	color:#000000;	
	margin:0;
}

h5{
	font-size:1.125em;
	font-weight:600;
	text-align:center;
	margin:0;
}


p{
	margin:1em 0;
	text-align:justify;
}

	.centered p{
		text-align:center;		
	}
	
	#policy{
		position:relative;
		bottom:-2em;
	}

a{
	color:#9ec63b;
}
	a:hover,
	a:active,
	a:focus{
		color:#7fa423;
	}



/*Navbar*/

.navbar{
	background:#fff;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
	-moz-border-radius:0;
	-webkit-border-radius:0;
	border-radius:0;
	margin:0;
}		
	
.brand{
	display:block;
	float:left;
	padding:10px 0;
	height:60px;
	
}	
		
	.brand img{
		max-height:100%;
	}	

	.navbar-nav{
		float:right;
	}

		.navbar-nav span{
			display:block;
			width:32px;
			height:32px;
			-moz-border-radius:50%;
			-webkit-border-radius:50%;
			border-radius:50%;
			background-color:#d3d4d5;
			cursor:pointer;
			margin:14px 10px;
		}
		
			.navbar-nav span#help{
				background-image:url('../img/ico-help.png');
				background-position:50% 50%;
				background-repeat:no-repeat;
				
			}
			.navbar-nav span#sidebar{
				background-image:url('../img/ico-menu.png');
				background-position:50% 50%;
				background-repeat:no-repeat;
				
			}
				.navbar-nav span#sidebar.active{
					background-color:#9ec63b;
					
				}
				
/* CTA */			
			
.box-wrapper{
	max-width:620px;
	margin:0 auto;
	padding:0 50px;
}

	.box{
		background:#ffffff;
		-moz-border-radius:12px;
		-webkit-border-radius:12px;
		border-radius:12px;
		-webkit-box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.75);
		-moz-box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.75);
		box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.75);		
		padding:20px 20px 40px 20px;
			position:relative;
	}
	
		.box h1{
			margin:0.3em 0;
		}
	
		.star{
			width:210px;
			height:210px;
			background:url('../img/star.png') 50% 50% no-repeat;
			color:#fff;
			text-align:center;
			padding:30px 10px;
			left:-70px;
			display:inline-block;
			position: absolute;
			
		}
			.star span{
				font-size: 5em;
				display:block;
			}
		
	.box .form{
		padding-left:210px;
	}

	.box .form div{
		position:relative;
		margin:1.5em 0;
	}	
	
	
/* Forms */	


.form label{
	width:95px;
}

.form .form-control{
	width:calc(100% - 105px);
}

.form-control{
	display:inline-block;
	-moz-border-radius:0;
	-webkit-border-radius:0;
	border-radius:0;	
	border:0;
	box-shadow:none;	
	color:#000000;
	font-size:1.125em;
	font-weight:600;
	padding:3px;	
	border-bottom:2px solid #9ec63b;	
	background: transparent url('../img/select.png') 100% 50%  no-repeat;	
	cursor:pointer;
	-webkit-appearance:none;
	height:38px;
}

.form-control:focus {
    border-color: #7fa423;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}


#activate .form{
	max-width:260px;
	width:100%;	
	margin:0 auto;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border: 1px solid #7fa423;
    background: #9ec63b;
    font-weight: normal;
    color: #ffffff;
}

.round{
	max-width:260px;
	width:100%;
	height:54px;
	display:block;
	margin:1em auto;
	font-size:1.5em;
	
	font-family: 'Questrial', sans-serif;
	text-transform:uppercase;
	color:#fff;
	-moz-border-radius:27px;
	-webkit-border-radius:27px;
	border-radius:27px;	
	border:0;
	outline:0;
	cursor:pointer;
}

	.round.dark{
		background:#7fa423;
	}
	.round.light{
		background:#9ec63b;
	}
	.round.border{		
		border-bottom:3px solid #7fa423;
	}
	.round.border:hover{		
		border-top:3px solid transparent;
		border-bottom:0px;
	}
	
/* FAQ */	

.panel{
	box-shadow:none;
}

.panel-heading{
	padding: 1em 0 0.5em;
}

	.panel-heading h4 a{
		background:url('../img/ico-faq.png') 0% 50% no-repeat;
		padding:5px 0 5px 40px;
		color:#333333;
		text-decoration:none;
		display: block;
		
	}

	.panel-group .panel-heading + .panel-collapse .panel-body {
		border-top: 0;
		padding:1em 0 1em 40px;
		border-bottom:2px solid #9ec63b;	
		
	}
	
.chart{
	width:100%;
	max-width:350px;
	margin:0 auto;
}	
	
	
.chart-label{
	font-size:1.25em;
	font-weight:600;
	text-align:center;
	color:#000000;
	margin:1.2em 0 0;
}	


.square{
	width:130px;
	height:130px;
	-moz-border-radius:14px;
	-webkit-border-radius:14px;
	border-radius:14px;	
	border:2px solid #d0d0d0;
	background-color:transparent;
	background-position:50% 30%;
	background-repeat:no-repeat;
	margin:2.5em auto 0.5em;
	position:relative;
}

	.square.ok,
	.square.no{
		background-position:50% 30%;		
		margin:2em auto ;
	}


	.square.yough{
		background-image:url('../img/giveback-yough.png');
	}
	.square.animals{
		background-image:url('../img/giveback-animals.png');
	}
	.square.research{
		background-image:url('../img/giveback-research.png');
	}
	.square.environment{
		background-image:url('../img/giveback-environment.png');
	}
	
	.square.fire{
		background-image:url('../img/fire.png');
	}
	.square.storm{
		background-image:url('../img/storm.png');
	}
	.square.crime{
		background-image:url('../img/crime.png');
	}
	.square.liability{
		background-image:url('../img/liability.png');
	}
	.square.medical{
		background-image:url('../img/medical.png');
	}
	.square.water{
		background-image:url('../img/water.png');
	}
	.square.quake{
		background-image:url('../img/quake.png');
	}
	.square.flood{
		background-image:url('../img/flood.png');
	}
	.square.roommates{
		background-image:url('../img/roommates.png');
	}
	.square.dog{
		background-image:url('../img/dog.png');
	}
	
		.square.ok:after,		
		.square.no:after{
			display:block;
			width:48px;
			height:48px;
			content:'';
			position:absolute;
			bottom:-24px;
			left:50%;
			margin-left:-24px;
			-moz-border-radius:50%;
			-webkit-border-radius:50%;
			border-radius:50%;	
			border:2px solid #d0d0d0;			
			background-color:transparent;
			background-position:50% 50%;
			background-repeat:no-repeat;
		}
				
		.square.ok:after{			
			background-image:url('../img/ok.png');
		}		
		.square.no:after{			
			background-image:url('../img/no.png');
		}

			.white .square.ok:after,
			.white .square.no:after{
				background-color:#ffffff;
			}
			.gray .square.ok:after,
			.gray .square.no:after{
				background-color:#f7f7f7;
			}
			
		.centered .row > div{
			padding:0 30px;
		}
		
		
		
	.support {
		width:100px;
		height:100px;
		margin:1.5em auto;			
		background-color:transparent;
		background-position:50% 50%;
		background-repeat:no-repeat;
	}

		.support.team{
			background-image:url('../img/support.png');
		}
		
		.support.faq{
			background-image:url('../img/faq.png');
		}
		
		#support a{
			text-decoration:none;
			color:#000;
		}
		
		
/* Steppers */		

.amount{
	max-width:660px;
	margin:0 auto 2.5em;
	padding-bottom:	2.5em;
	border-bottom:2px solid #9ec63b;
}

	.amount:after{
		display:block;
		content:'';
		clear:both;
	}
	
	.amount > div{
		padding:0;
	}
	
	.amount:nth-last-child(-n+2){
		padding-bottom:0;
		margin-bottom:0;
		border-bottom:0;
	}
		
		
	.input-group{
		border:0;
		border-radius:0;
		margin:0;
		box-shadow:none;
		
	}		
	
		.input-group .form-control {
			border:0;
			border-radius:0;
			margin:0;
			padding:0 0.5em;
			min-height:inherit;
			background:transparent;
			text-align:center;
			font-size:2em;
			color:#7fa423;
			font-weight:600;
			height:inherit;
			pointer-events: none;
			tab-index: -1;
			
		}	
		
	
		.input-group .input-group-addon {
			padding: 0 0.5em;
			font-size: 1em;
			font-weight: normal;
			line-height: 1;
			text-align: center;
			background-color: transparent;
			border: 0;
			border-radius: 0;
		}
		
			.input-group-addon span{ 
				cursor:pointer;
				display:block;
				text-align:center;
				font-size: 3em;
				width: 30px;
				line-height: 1;
				color: #a7a9ac;
			}
	
				.input-group-addon.dec span{ 
					font-size:2.6em;
				}
				
				.input-group-addon.dec span.disabled{ 
					cursor:default;
					opacity:0.2;
				}
				
	
		
/* Modals */
		
.modal .close {
    font-size: 32px;
    color: #fff;
    opacity: 1;
    width: 32px;
    height: 32px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: #d0d0d0;
    border: 2px solid #ffffff;
    text-align: center;
    line-height: 1;
    right: -10px;
    top: -10px;
    position: absolute;
	outline:none;
}

	.modal .close span {
		position: relative;
		top: -5px;
		left: 1px;
	}
	
	
/*Sidebars*/	

.sidebar{
	position:fixed;
	top:60px;
	right:-280px;
	bottom:0;
	width:250px;
	background:#7fa423;
	color:#fff;
	-webkit-box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.75);	
	transition:all 0.5s ease-in-out;
}

.sidebar.shown{
	right:0;
}

	.sidebar .tab-list{
		margin:20px 0;
		padding:0;
		list-style-type:none;
	}
	
	.sidebar .tab-list li{
		margin:0;
		padding:10px 0 10px 30px;
		font-size:1.125em;
		text-transform:uppercase;
	}
	
		.sidebar .tab-list li a{
			color:#fff;
		}
		
			.sidebar .tab-list li a:hover{
				color:#fff;
				text-decoration:none;
				opacity:0.8;
			}
			
	.sidebar .social-list {
		position: absolute;
		bottom: 15px;
		margin: 0;
		padding: 0;
		width: 100%;
		text-align: center;
	}

		.sidebar .social-list li{
			display:inline-block;
			width:55px;
			height:55px;
			margin:0 10px;
		}
		
			.sidebar .social-list li a{
				display:block;
				width:100%;
				height:100%;
				background-position:50% 50%;
				background-repeat:no-repeat;
			}
			
				.sidebar .social-list li a.fb{
					background-image:url('../img/social-fb.png');
				}
				.sidebar .social-list li a.tw{
					background-image:url('../img/social-tw.png');
				}
				.sidebar .social-list li a.inst{
					background-image:url('../img/social-inst.png');
				}
				
				
@media screen and (min-width: 1200px){
	
#promo{
	width:100%;
	overflow:hidden;
}
	
	#promo .container{
		width:50%;
	}
	
	#promo:before{
		position:absolute;
		top:2em;
		left:-25%;
		bottom:0;
		width:50%;
		content:'';
		display:block;
		background:url('../img/apartment.png') 50% 100% no-repeat;
		background-size:contain;
		z-index:0;
		
	}	
	#promo:after{
		position:absolute;
		top:2em;
		right:-25%;
		bottom:0;
		width:50%;
		content:'';
		display:block;
		background:url('../img/apartment.png') 50% 100% no-repeat;
		background-size:contain;
		z-index:0;
		
	}
	
	
}
@media screen and (max-width: 767px){
	
	body{
		font-size:14px;
	}
	
	.navbar-nav {
		margin: 0;
	}
	
	.nav > li {
		display: inline-block;
	}

		
	.box-wrapper{
		max-width:620px;
		margin:0 auto;
		padding:0 0 85px 0;
	}
	
		.box{
			padding-bottom:105px;
		}
	
			.box .form{
				padding-left:0;
			}
			
			.ui-datepicker{
				z-index:8;
			}
			
			.star{
				width:210px;
				height:210px;
				background:url('../img/star.png') 50% 50% no-repeat;
				color:#fff;
				text-align:center;
				padding:30px 10px;
				left:50%;
				margin-left:-105px;
				bottom:-105px;
				display:inline-block;
				position: absolute;	
			}
	
	h2{
		text-align:center;
	}
	
	.input-group {
		padding: 0 30px;
	}		
}