/* form.css */

.title {
    float:right;
    clear:right;
    margin-top:3em;
}

h1 {
    text-align: right;
    font-size:4.4em;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom:0;
	color:#122d4a; /* blue */
}

.title h1 span {
    font-size:0.8em;
    margin-right:10px;
}

.main {
    padding:3%;
    background-color:#fff;
}

    
        .contactform {
            padding:0;
        }
        
            .contactform form {
                background-color:#122d4a; /* blue */
                width:100%;
            }
            
            .contactform .half {
                width:100%;
                margin:0;
            }
            
            .submit-btn {
				float:right;
				clear:none;
                width:35%;
				text-align: center;
				margin-top:0;
            }
			
			.back-btn {
				float:left;
				clear:none;
                width:35%;
				text-align: center;
				background-color:#ed732c; /* orange */
				padding:1em;
				text-decoration: none;
				font-size:1.4em;
				font-weight:bold;
				letter-spacing: 0.1em;
				text-transform: uppercase;
				margin-top:0;
				color:#fff;
				border-radius:0.25em;
				cursor: pointer;
			}
			
				.back-btn:hover {
					background-color:#f47c62; /* orange hover */
				}
			
			.formfield {
				float:left;
				width:100%;
			}
			
			.fieldset {
				float:left;
				clear:left;
				width:100%;
				border:1px solid #324d6a;
				padding:2em;
				border-radius: 0.5em;
				margin:2em 0;
			}
			
			article .desc p {
				font-size:1em;
			}
			
			.form_error {
				color:red;
				margin-bottom:1em;
			}
			
			select {
				-webkit-appearance: none;
				background-color:#fff;
			}
			
			.dobbox {
				width:31.333333333%;
				margin-right:3%;
				padding:0.9em;
			}
			
				.dobbox:nth-of-type(3n) {
					margin-right:0;
				}
			
			input[type="radio"]{
				float:left;
				width:auto;
				margin-right:1em;
			}
			
			.radio_btn {
				float:left;
				clear:left;
				width:100%;
			}
			
			.radio_btn .text {
				float:left;
				color:#fff;
				margin-right:2em;
				font-size:1.4em;
			}
    
    article {
        float:right;
        width:75%;
    }
    
        .main p{
            font-size:1.4em;
            line-height: 1.6;
            margin-bottom:1em;
        }
        
            .main p a {
                color:#ed732c; /* orange */
            }
        
        .main h2,
		.main h3,
		.main h4,
		.main h5{
            color:#ed732c; /* orange */
            font-size:3em;
            margin-bottom:1em;
            margin-top:1.5em;
            font-weight:normal;
        }
        
        .main h3{
            font-size:2.5em;
            color:#122d4a; /* blue */
        }
		
		.main .form h3 {
			color:#ed732c; /* orange */
		}
        
        .main h4{
            font-size:2em;
        }
        
        .main h5{
            font-size:1.5em;
        }
        
        .main h2:first-child,
        .main h3:first-child,
        .main h4:first-child {
            margin-top:0;
        }
        
        .main ul,
        .main ol {
            margin:3em 2em;
        }
        
        .main ul {
            list-style-image: url('../img/bullet.png');
        }
        
            .main li {
                margin-bottom:1em;
                font-size:1.4em;
                padding-left:1em;
            }
			
			.main li li,
			.main li p{
				font-size:1em;
			}
        
        .main table {
            border-collapse: collapse;
            width:100%;
			margin:2em 0;
        }
        
            .main td {
                font-size:1.4em;
                padding:1em;
                border:1px solid #eee;
            }
			
			.form td {
				color:#fff;
			}
            
            td:first-child {
                width:60%;
            }
            
            td:last-child {
                width:40%;
                text-align: right;
            }
        

.picture1,
.picture2{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color:#eee;
    background-attachment: fixed;
}

    .picture1 h3,
    .picture2 h3{
        color:#fff;
        font-weight:900;
        font-size:4.5em;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        padding:7% 15%;
        text-align:center;
    }
    
    .picture2 h3 {
        padding:4% 15%
    }
	
	.picture2 {
		background-image:url('../img/power-of-attorneys.jpg');
	}



.forms {
	margin-bottom:3em;
}

	.choose {
		width:30%;
		margin-right:3%;
	}

article.form {
	float:none;
	display:block;
	width:70%;
	margin:0 auto;
	background-color:#122d4a; /* blue */
	padding:0;
	border-radius: 0.5em;
}

	.form:nth-of-type(2n) {
		margin-right:0;
	}
	
	.choose:nth-of-type(2n) {
		margin-right:3%;
	}
	
	.form .title {
		float:left;
		width:100%;
		margin:0;
	}
	
	.main .formname {
		max-width:100%;
		font-size:2em;
	}
	
		article .form .title h3 {
			color:#ed732c; /* orange */
			font-weight:normal;
			font-size:2em;
			float:left;
		}
	
	.form > img {
		float:left;
		width:20%;
	}
	
	.form .buttons {
		float:right;
		width:75%;
	}
		
	.form .buttons a { /* buttons on account page */
		float:left;
		clear:left;
		width:100%;
		color:#fff;
		padding:1em;
		font-size:1.1em;
		font-weight:600;
		letter-spacing: 0.1em;
		text-transform: uppercase;
		text-align: center;
		text-decoration: none;
		background-color:#ed732c; /* orange */
		border-radius:0.5em;
		margin-bottom:1em;
	}
	
		.form .buttons a:hover {
			background-color:#f47c62;
		}
		
		.form .buttons p {
			color:red;
		}
	
	.errorMsg {
		float:left;
		clear:left;
		font-size:1.4em;
		margin-bottom:2em;
	}
		
	
	.form-buttons { /* buttons on form pages */
		float:left;
		width:100%;
		margin-bottom:3%;
	}
	
		.form-buttons a,
		.form-buttons input,
		.form-buttons button{
			width:auto;
			float:left;
			color:#fff;
			font-size:1em;
			letter-spacing: 0.1em;
			text-transform: uppercase;
			font-weight:bold;
			background-color:#ed732c; /* orange */
			border-radius: 0.5em;
			padding:1em;
			margin-right:1em;
			margin-bottom:1em;
			text-decoration: none;
			cursor: pointer;
			-webkit-appearance: none;
		}
		
			.form-buttons a:hover,
			.form-buttons input:hover,
			.form-buttons button:hover{
				background-color:#f47c62; /* orange hover */
			}	
	
	.form .buttons a.delete,
	.clearform{
		background-color:#959595;
	}
	
		.form .buttons a.delete:hover,
		.clearform:hover{
			background-color:#bbbbbb;
		}
	
		.buttons a img {
			margin-right:0.5em;
			margin-bottom:-2px;
			height:1.1em;
		}
		
		.choose p {
			min-height:160px;
		}

#opc_input {
	float:left;
	clear:left;
	width:49%;
	margin-bottom:5%;
}

#opc_button {
	float:right;
	width:49%;
	font-size:1.2em;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight:bold;
	background-color:#ed732c; /* orange */
	border-radius: 0.5em;
	padding:1em;
	color:#fff;
	outline:none;
	border:none;
	cursor: pointer;
	margin-bottom:5%;
}

	#opc_button:hover {
		background-color:#f47c62; /* orange hover */
	}

#opc_dropdown {
	border:2px solid #f47c62;
}

	#opc_dropdown option {
		padding:0.5em;
	}

.lookup {
	float:left;
	clear:left;
	width:100%;
}

	.lookup input {
		float:left;
		width:49%;
	}
	
	.lookup button {
		float:right;
		width:49%;
		font-size:1.2em;
		letter-spacing: 0.1em;
		text-transform: uppercase;
		font-weight:bold;
		background-color:#ed732c; /* orange */
		border-radius: 0.5em;
		padding:1em;
		color:#fff;
		outline:none;
		border:none;
		cursor: pointer;
	}
	
		.lookup button:hover {
			background-color:#f47c62; /* orange hover */
		}
		
.divide {
	float:left;
	clear:left;
	width:100%;
	height:1px;
	background-color:#fff;
	margin:3em 0;
}

.otherform {
	width:50%;
	margin:0 auto;
	display:block;
	max-width:100%;
}

.notes{
	display:none;
	position:fixed;
	z-index:100;
	width:100%;
	height:100%;
	top:0;
	left:0;
	background:rgba(0,0,0,0.5);
	overflow-y:auto;
}

.flashmodal {
	position:fixed;
	z-index:100;
	width:100%;
	height:100%;
	top:0;
	left:0;
	background:rgba(0,0,0,0.5);
	overflow-y:auto;
}

	.notes .inner,
	.flashmodal .inner{
		background-color:#fff;
		border-radius:1em;
		padding:5%;
		width:75%;
		margin:5% auto;
		position:relative;
	}
	
	#close,
	#close2,
	#close3{
		position:absolute;
		right:-0.5em;
		top:-0.5em;
		background-color:#ed732c; /* orange */
		font-weight:bold;
		font-size:3em;
		color:#fff;
		padding:0.5em;
		text-decoration: none;
		border-radius:0.25em;
		cursor: pointer;
	}
	
		#close:hover,
		#close2:hover,
		#close3:hover{
			background-color:#f47c62; /* orange hover */
		}

.popup2 {
	position:fixed;
	z-index:100;
	left:0;
	top:0;
	width:100%;
	height:100%;
	background:rgba(0,0,0,0.7);
	text-align: center;
}

	.popup2 .inner {
		position:relative;
		display:block;
		width:400px;
		max-width:100%;
		margin:0 auto;
		top:50%;
		transform:translateY(-50%);
		background-color:#fff;
		padding:2em;
		border-radius: 0.5em;
	}
	
	#close4 {
		position: relative;
		clear:both;
		margin-top:2em;
		color:#fff;
		background-color:#ed732c; /* orange */
		padding:1em;
		border-radius:0.5em;
		text-decoration: none;
	}

.radiobtn {
	float:left;
	width:50%;
	padding-right:5%;
}


	
@media screen and (max-width:1199px) {
    
    .title {
        margin-top:8em;
    }
    
        h1,
        .picture1 h3,
        .picture2 h3{
            font-size:3.4em;
        }

	article.form {
		width:100%;
	}
	
	.choose {
		width:100%;
		margin-right:0;
		margin-bottom:2em;
	}
	
		.choose p {
			min-height:0;
		}
}

@media screen and (max-width:899px) {
    aside,
    article {
        float:left;
        clear:left;
        width:100%;
        margin-bottom:3em;
    }
    
    .expand h3 {
        font-size:2em;
    }
}

@media screen and (max-width:799px) {
    
    p.contact,
    h1 {
        clear:both;
        width:100%;
        text-align: center;
    }
    
    .title {
        clear:both;
        width:100%;
        margin-top:0;
    }
	
	.notes .inner {
		width:80%;
	}
}

@media screen and (max-width:549px){
	.submit-btn {
		width:100%;
	}
	
	.submit-btn[name=back]{
		margin-top:1em;
	}
	
	.forgot {
		float:left;
		margin-bottom:2em;
	}
	
	.formfield {
		width:100% !important;
		margin-right:0 !important;
	}
}

@media screen and (max-width:399px) {
    
    h1,
    .picture1 h3,
    .picture2 h3 {
        font-size:2.4em;
    }
    
    article td {
        font-size:1.2em;
    }
	
	.notes .inner {
		width:85%;
	}
}