@media only screen and (max-width : 1600px){

	.agreements_to_sign_container
	{
		flex-basis: 60%;
		padding-right: 20px;
	}

	.agreements_unsigned_container
	{
		flex-basis: 40%;
		padding-left: 20px;
	}
}

@media only screen and (min-width : 1120px) and (max-width : 1430px) and (-webkit-min-device-pixel-ratio:0) and (min-resolution:.001dpcm)
{
    .personal_line select
	{
		max-width: 74%;
	}
}

@media only screen and (max-width : 1350px)
{
	#personal_data_btn_container a
	{
		font-size: 18px;
	}
}

@media only screen and (max-width : 1280px)
{
	.view_profile_section:nth-of-type(1)
	{
		flex-basis: 35%;
		padding-right: 15px;
	}

	.view_profile_section:nth-of-type(2)
	{
		flex-basis: 65%;
		padding-left: 15px;
	}
}

@media only screen and (max-width : 1199px){


	#logo_header img
	{
		height: 40px;
	}

	#content
	{
		padding: 20px;
	}

	#agreements_list_container
	{
	    flex-direction: row;
	}

	.agreements_to_sign_container
	{
		flex: 0 0 100%;
		padding-right: 0;
		border-right: none;
		border-bottom: 1px solid #00305C;
		padding-bottom: 10px;
		margin-bottom: 15px;
	}

	.agreements_unsigned_container
	{
		flex: 0 0 100%;
		padding-left: 0;
		margin-bottom: 15px;
	}

	#agreements_to_sign
	{
	   	justify-content: flex-start;
	}

	.one_agreement
	{
		flex-basis: auto;
		min-width: 200px;
		margin-bottom: 10px;
		margin-right: 10px;
	}

	.one_agreement_line .agreement_column_half:nth-of-type(1)
	{
		padding-right: 10px;
	}

	.one_agreement_line .agreement_column_half:nth-of-type(2)
	{
		padding-left: 10px;
	}

	.one_agreement_submit_container input[type=text]
	{
		width: 45%;
	}

	.personal_info_1
	{
		padding-right: 10px;
	}

	.personal_info_2
	{
		padding-left: 10px;
	}

	.employment_info_1
	{
		padding-right: 10px;
	}

	.employment_info_2
	{
		padding-left: 10px;
	}

	#billing_information
	{
	    flex-direction: column;
	    margin-top: 25px;
	}

	#billing_info_1
	{
		flex-basis: 100%;
		padding-right: 0;
	}

	#billing_info_2
	{
		flex-basis: 100%;
		padding-left: 0;
	}

	.billing_line span:nth-of-type(1)
	{
		flex-basis: auto;
		min-width: 180px;
	}

	.billing_line span:nth-of-type(2)
	{
		flex-basis: auto;
	}

	/*	PASSWORD CHANGE	*/


}



@media only screen and (max-width : 1120px)
{
	.agreement_column_half label
	{
		display: block;
		width: 100%;
	}

	.agreement_column_half input[type=text]
	{
		width: 100%;
	}

	.personal_line label
	{
		flex-basis: 100%;
		margin-bottom: 5px;
	}

	.personal_line input[type=text]
	{
		flex-basis: 100%;
	}

	.personal_line select
	{
		flex-basis: 100%;
		height: 48px;
	}

	.occupations_container
	{
		top: 70px;
		width: 100%;
	}

	.manual_entry_info
	{
		top: 72px;
		width: 100%;
	}

	.personal_line_close_button
	{
		top: 36px;
		right: 7px;
	}


}


@media only screen and (max-width : 1080px)
{
	#personal_information
	{
	    flex-direction: column;
	}

	.personal_info_1
	{
		padding-right: 0;
	}

	.personal_info_2
	{
		padding-left: 0;
	}

	#employment_information
	{
	    flex-direction: column;
	}

	.employment_info_1
	{
		padding-right: 0;
		flex-basis: 100%;
	}

	.employment_info_2
	{
		padding-left: 0;
		flex-basis: 100%;
	}
}


@media only screen and (max-width : 999px)
{
	.one_entitlement
	{
		flex-basis: 33%;
		padding-right: 15px;
	}

	.one_entitlement:nth-child(5n)
	{
		padding-right: 15px;
	}

	.view_profile_section:nth-of-type(1)
	{
		flex-basis: 100%;
		padding: 0;
		border-right: none;
	}

	.view_profile_section:nth-of-type(2)
	{
		flex-basis: 100%;
		padding: 0;
	}

	.user_profile_section
	{
		flex: 0 0 49%;
	}
}

@media only screen and (max-width : 991px)
{
	#header,
	#content_container,
	#footer_container,
	#login_container
	{
		width: 100%;
	}

	.one_agreement_submit_container
	{
		display: flex;
		flex-direction: column;
		flex-flow: wrap;
	}

	.one_agreement_submit_container label
	{
		flex-basis: 100%;
		margin-right: 0;
		margin-bottom: 5px;
	}

	.one_agreement_submit_container input[type=text]
	{
		flex-basis: 100%;
		margin-right: 0;
		margin-bottom: 15px;
	}

	.one_agreement_submit_container input[type=submit]
	{
		margin-left: auto;
	}



}

@media only screen and (max-width : 935px)
{
	header
	{
		margin-bottom: 15px;
	}
}

@media only screen and (max-width : 900px)
{
	#profile_security
	{
		flex-basis: 100%;
		margin-bottom: 25px;
	}

	#pass_requirements
	{
		flex-basis: 100%;
	}
}

@media only screen and (max-width : 831px){

	#content_container
	{
		padding: 36px 20px 20px 20px;
	}

	#agreements_to_sign
	{
	   	justify-content: space-between;
	}

	.agreements_unsigned_container
	{
		flex-basis: 100%;
		padding-left: 0;
		margin-bottom: 15px;
	}

	.one_agreement
	{
		flex-basis: 29%;
		min-width: 150px;
		margin: 0;
		margin-bottom: 10px;
	}
}


@media only screen and (max-width : 768px){

	#login_container
	{
		width: 90%;
	}

	#login_content
	{
		padding: 20px;
	}

	.one_entitlement
	{
		flex-basis: 50%;
		padding-right: 15px;
	}

	#entitlements_button_container a
	{
		font-size: 20px;
		padding: 0 20px;
	}

	#entitlements_button_container input[type=submit],
	#entitlements_button_container input[type=button]
	{
		font-size: 20px;
		padding: 0 20px;
	}

	#content h1
	{
		margin-bottom: 15px;
	}

	.single_agreement h3
	{
		margin-top: 0;
	}

	.single_agreement p
	{
		margin-top: 0;
	}

	.one_agreement_line
	{
		margin-bottom: 0;
	}

	.agreement_column_half
	{
		flex-basis: 100%;
		margin-bottom: 10px;
	}

	.one_agreement_line .agreement_column_half:nth-of-type(1)
	{
		padding-right: 0px;
	}

	.one_agreement_line .agreement_column_half:nth-of-type(2)
	{
		padding-left: 0px;
	}

	.agreement_column_half label
	{
		margin-bottom: 5px;
	}

	.agreement_column_half_no_label
	{
		flex-basis: 100%;
	}

	#npq_container
	{
		flex-direction: column;
	}

	.npq_column
	{
		flex-basis: 100%;
	}

	.npq_column:nth-of-type(1)
	{
		padding-right: 0;
	}

	.npq_column:nth-of-type(2)
	{
		padding-left: 0;
	}

	.user_profile_section
	{
		flex: 0 0 100%;
	}



	/*	APPROVE FIRM	*/



	/*.firm_approve_section
	{
	    flex-basis: 48.5% !important;
	}
	*/


	.firm_approve_section:nth-of-type(1)
	{
	    flex-basis: 100% !important;
	}

	.firm_approve_section:nth-of-type(2)
	{
	    flex-basis: 49% !important;
	}

	.firm_approve_section:nth-of-type(3)
	{
	    flex-basis: 100% !important;
	}

	.firm_approve_section:nth-of-type(3) .firm_approve_field
	{
	    flex-basis: 49% !important;
	}


}




@media only screen and (max-width : 767px)
{


	#header
	{
	    margin-bottom: 5px;
	}

	#logo img
	{
	    height: 55px;
	    width: auto;
	}

	#logo_links>li
	{
	    line-height: 55px;
	}
}

@media only screen and (max-width : 720px)
{

	#content_container
	{
		padding: 20px;
	}

	#breadcrumbs_container
	{
		display: none;
	}
}

@media only screen and (max-width : 680px)
{
	#logo img
	{
	    height: 45px;
	    width: auto;
	}

	#logo_header
	{
		height: 45px;
		width: 118px;
		background-size: 100% !important;
	}

	.change_pass_line img
	{
		top: unset;
		bottom: 15px;
	}

	#pass_requirements h3
	{
		margin-bottom: 10px;
	}

	#pass_requirements ul
	{
		margin: 0 0 10px 10px;
		padding: 0 0 0 10px;
	}

	#pass_requirements ul li
	{
		margin-bottom: 5px;
	}


}

@media only screen and (max-width : 655px)
{
	#entitlements_button_container a
	{
		font-size: 18px;
		padding: 0 10px;
	}

	#entitlements_button_container input[type=submit],
	#entitlements_button_container input[type=button]
	{
		font-size: 18px;
		padding: 0 10px;
	}
}

@media only screen and (max-width : 640px)
{
	.one_agreement
	{
		flex-basis: 45%;
		min-width: 100px;
	}
}

@media only screen and (max-width : 620px)
{
	#continue_exit_container a
	{
		padding: 0 15px;
	}

	#continue_exit_container button
	{
		padding: 0 15px;
	}

	.one_contact_address
	{
		flex-basis: 100%;
	}

	#personal_data_btn_container
	{
		margin-bottom: 15px;
	}

	#contact_addresses
	{
		margin-top: 0;
	}
}

@media only screen and (max-width : 563px)
{

	.personal_info_1
	{
		flex-basis: 100% !important;
		padding-right: 0;
	}

	.personal_info_1 .personal_line
	{
		width: 100% !important;
	}

	.personal_info_1 input[type=text],
	.personal_info_1 select,
	.personal_info_1 label
	{
		width: 100% !important;
	}

	.personal_info_2
	{
		flex-basis: 100% !important;
		padding-left: 0;
	}

	.personal_info_2 .personal_line
	{
		width: 100% !important;
	}

	.personal_info_2 input[type=text],
	.personal_info_2 select,
	.personal_info_2 label
	{
		width: 100% !important;
	}



	.employment_info_1
	{
		flex-basis: 100% !important;
		padding-right: 0;
	}

	.employment_info_1 .personal_line
	{
		width: 100% !important;
	}

	.employment_info_1 input[type=text],
	.employment_info_1 select,
	.employment_info_1 label
	{
		width: 100% !important;
	}

	.employment_info_2
	{
		flex-basis: 100% !important;
		padding-left: 0;
	}

	.employment_info_2 .personal_line
	{
		width: 100% !important;
	}

	.employment_info_2 input[type=text],
	.employment_info_2 select,
	.employment_info_2 label
	{
		width: 100% !important;
	}
}



@media only screen and (max-width : 600px)
{
	#header_nav a img
	{
		height: 10px;
		margin-right: 3px;
		margin-bottom: 0px;
	}

	#header_nav a
	{
		font-size: 12px;
	}

	#header_nav a:not(:last-of-type)
	{
		margin-right: 10px;
	}

	#header_nav span img
	{
		height: 10px;
		margin-right: 3px;
		margin-bottom: 0px;
	}

	#header_nav span
	{
		font-size: 12px;
	}

	#header_nav span .nav_dropdown a
	{
		font-size: 12px;
	}


	/*	PASSWORD CHANGE	*/


	.change_pass_line label
	{
		flex: 0 0 100%;
		flex-grow: 1;
		padding-right: 0;
	}

	.change_pass_line input[type=text],
	.change_pass_line input[type=email],
	.change_pass_line input[type=password]
	{
		flex: 0 0 100%;
		flex-grow: 1;
	}

	.pass_change_submit_container
	{
	    margin-top: 5px;
	}

	.pass_change_submit_container span
	{
		display: block;
		margin-bottom: 10px;
	}

	.pass_change_submit_container input[type=submit]
	{
		justify-self: flex-end;
	}

}

@media only screen and (max-width : 570px)
{
	#entitlements_list_container
	{
		/*flex-direction: row;
	   	flex-wrap: wrap;*/
	}

	.one_entitlement
	{
		flex-basis: 100%;
		padding-right: 0;
		margin-bottom: 15px;
	}

	.one_entitlement:nth-child(5n)
	{
		padding-right: 0;
	}

	#entitlements_button_container a
	{
		font-size: 15px;
		padding: 0 10px;
	}

	#entitlements_button_container input[type=submit],
	#entitlements_button_container input[type=button]
	{
		font-size: 15px;
		padding: 0 10px;
	}
}

@media only screen and (max-width : 530px)
{
	#content h1
	{
		margin-bottom: 15px;
	}

	#agreements_list_container h2
	{
		margin-bottom: 5px;
	}

	.one_agreement
	{
		flex-basis: 100%;
	}

	.one_agreement_signed
	{
		display: flex;
		flex-direction: column;
		padding-bottom: 5px;
		border-bottom: 1px solid #00305C;
	}

	.one_agreement_signed:last-of-type
	{
		border-bottom: none;
	}

	.one_agreement_signed a
	{
		order: 3;
		text-decoration: none;
	}

	.one_agreement_signed a img
	{
		margin-bottom: -2px;
	}

	.one_agreement_signed a:after
	{
		content: "Download Agreement";
		text-transform: uppercase;
		color: #00305C;
		text-decoration: none;
		margin-left: 10px;
		line-height: 1;
	}

	.one_agreement_signed span:nth-of-type(1)
	{
		order: 1;
		width: auto;
	}

	.one_agreement_signed span:nth-of-type(2)
	{
		order: 2;
		padding: 5px 10px;
		width: auto;
		flex-basis: 100%;
		display: block;
		margin-top: 5px;
		margin-bottom: 5px;
	}

	.proceed_container a
	{
		display: block;
		font-size: 20px;
		padding: 0;
		text-align: center;
	}

	#personal_data_btn_container a
	{
		flex-basis: 100% !important;
		font-size: 20px;
	}

	#personal_data_btn_container a:nth-of-type(1)
	{
		margin-bottom: 10px;
	}
}


@media only screen and (max-width : 500px)
{
	#logo_header img
	{
		height: 30px;
	}

	#entitlements_button_container
	{
		flex-direction: column;
		text-align: center;
	}

	#entitlements_button_container a
	{
		margin-bottom: 15px;
	}

	#entitlements_button_container input[type=submit],
	#entitlements_button_container input[type=button]
	{
		float: none;
	}
}

@media only screen and (max-width : 480px)
{
	#continue_exit_container a
	{
		font-size: 18px;
	}

	#continue_exit_container button
	{
		font-size: 18px;
	}



	/*	APPROVE FIRM	*/


	/*.firm_approve_section
	{
	    flex-basis: 100% !important;
	}
	*/

	.firm_approve_section:nth-of-type(1)
	{
	    flex-basis: 100% !important;
	}

	.firm_approve_section:nth-of-type(2)
	{
	    flex-basis: 100% !important;
	}

	.firm_approve_section:nth-of-type(3)
	{
	    flex-basis: 100% !important;
	}

	.firm_approve_section:nth-of-type(1) .firm_approve_field
	{
	    flex-basis: 100% !important;
	}

	.firm_approve_section:nth-of-type(2) .firm_approve_field
	{
	    flex-basis: 100% !important;
	}

	.firm_approve_section:nth-of-type(3) .firm_approve_field
	{
	    flex-basis: 100% !important;
	}
}

@media only screen and (max-width : 425px)
{

	#header_nav a
	{
		display: block;
		text-align: right;
	}

	#header_nav a img
	{
		display: none;
	}

	#header_nav a:not(:last-of-type)
	{
		margin-right: 0;
		margin-bottom: 5px;
	}

	#header_nav span
	{
		display: block;
		text-align: right;
		margin-top: 5px;
	}

	#header_nav span img
	{
		display: none;
	}

	#header_nav span em
	{
		border-width: 4px 3px 0 3px;
		margin-left: 3px;
	}

	#header_nav span .nav_dropdown
	{
		top: 12px;
		padding: 5px 10px;
	}

	#header_nav .nav_dropdown li a
	{
		line-height: 1.5;
	}

	#login_container
	{
		width: 100%;
	}

	#login_content_container
	{
		padding: 20px;
	}

	#login_content h1
	{
		font-size: 26px;
		line-height: 26px;
		margin-bottom: 10px;
	}

	.login_line
	{
		border-left: none;
	}

	.login_line img
	{
		display: none;
	}

	.login_submit_line input[type=submit]
	{
		float: none;
		padding-left: 0;
		padding-right: 0;
		width: 100%;
	}

	#continue_exit_container
	{
		flex-direction: column;
	}

	#continue_exit_container a
	{
		flex-basis: 100%;
		display: block;
		width: 100%;
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
		font-size: 20px;
		text-align: center;

	}

	#continue_exit_container button
	{
		flex-basis: 100%;
		display: block;
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
		font-size: 20px;
		margin-top: 10px;
	}

	#content h1
	{
		margin-bottom: 15px;
		font-size: 20px;
	}
}

@media only screen and (max-width : 425px)
{

	#login_header
	{
	    height: 50px;
	}

	.login_line
	{
		margin-bottom: .5rem !important;
	}

	#login_content h1
	{
		font-size: 1.25rem !important;
		line-height: 1 !important;
		margin-bottom: 1.5rem !important;
	}

	.login_line input[type=text],
	.login_line input[type=password]
	{
		padding: 1rem;
		font-size: 1rem;
	}

	.login_submit_line input[type=submit]
	{
		padding: 1rem;
	  	font-size: 1rem;
	}
}


@media only screen and (max-width : 375px)
{
	.proceed_container a
	{
		line-height: 1.5;
	}

	.view_profile_section>h2
	{
		font-size: 22px !important;
		margin-bottom: 15px;
	}

	.view_profile_section h3
	{
		font-size: 16px;
	}

	.view_profile_section p
	{
		font-size: 15px;
	}

	.view_profile_section ul
	{
		font-size: 15px;
	}
}