

@media (min-width: 769px) and (max-width: 1060px) {
	body.layout-option1 div.phone_number {
		font-size: 43px;
	}
}

@media (max-width: 768px) {
	#box_31 {
		display: block;
	}

	#box_33, #box_38 {
		width: auto;
	}

	div.centered_med, div.centered {
		width: auto;
		overflow: hidden;
	}

	#top-header {
		padding: 20px;
		text-align: center;
		display: none;
	}

	#top-header div.content_phpcode {
		font-size: 22px;
	}

	#top-header h1, #top-header h2, #top-header h3 {
		font-size: 14px;
	}

	#header-right {
		display: none;
	}

	#intro-header {
		padding: 0;
	}

	#header-bg {
		position: relative;
		top: auto;
		bottom: auto;
		left: auto;
		right: auto;
		height: 220px;
	}

	#intro-content {
		padding: 10px 20px;
		text-align: center;
	}

	#main-arrow, #white-top, #white-bottom {
		display: none;
	}

	#main-tagline {
		position: relative;
		left: auto;
		top: 0;
		padding: 10px 20px;
		text-align: center;
		width: auto;
		font-size: 20px;
	}

	.lo {
		font-size: 24px;
	}

	#main-left {
		float: none;
		padding: 20px;
		width: auto;
	}

	#main-left table.contact_classic,
	#main-left table.contact_classic tbody,
	#main-left table.contact_classic tr {
		display: block;
	}

	#main-left table.contact_classic td {
		display: block;
		text-align: center;
		padding: 0;
		width: auto !important;
	}

	#main-left table.contact_classic td.right {
		padding: 10px 0 20px;
	}

	#main-right {
		width: auto;
		padding: 20px;
		float: none;
	}

	#footer {
		padding: 0 20px;
	}

	#footer div.content_phpcode {
		font-size: 20px;
	}

	#brio-admin-bar {
		display: none;
	}

	#box_7 {
		padding-top: 10px;
	}

	body.layout-morcellator-thankyou #intro-header {
		padding-right: 0;
	}

	#top-bg {
		display: none
	}

	#box_37 table,
	#box_37 tbody,
	#box_37 tr {
		width: auto !important;
		display: block;
	}

	#box_37 table td {
		width: auto !important;
		text-align: center !important;
		display: block;
	}

	body.logged-in {
		padding-bottom: 0;
	}

	.stack .name, .captcha .name {
		font-size: 16px;
	}

	body.layout-option1 #main-bg {
		padding-top: 0;
	}

	body.layout-option1 #main-tagline {
		margin-top: 0;
	}

	body.layout-option1 #header-bg {
		height: 234px;
	}

	body.layout-option2 .jscript_gallery_bg,
	body.layout-option1 .jscript_gallery_bg {
		position: relative;
	}

	body.layout-option1 #main-bg img {
		max-width: 100%;
	}

	body.layout-option2 #top-bg, body.layout-option2 #top-header,
	body.layout-option1 #top-bg, body.layout-option1 #top-header {
		display: block;
	}

	body.layout-option2 #top-bg,
	body.layout-option1 #top-bg {
		height: auto;
	}

	body.layout-option2 #top-header,
	body.layout-option1 #top-header {
		width: auto;
	}

	body.layout-option2 #top-phone,
	body.layout-option1 #top-phone {
		position: relative;
		right: auto;
		top: auto;
	}

	body.layout-option1 #top-bg img {
		max-width: 100%;
	}

	body.layout-option1 #top-phone table {
		width: auto;
		margin: 0 auto;
	}

	body.layout-option1-thankyou #intro-header {
		padding: 1px 0;
	}

	body.layout-option1-thankyou #header-bg {
		height: auto;
	}

	body.layout-option1-thankyou #main-content {
		padding: 0 20px;
	}

	body.layout-option1-thankyou #intro-header {
		display: none;
	}

	body.layout-option2 .lower3 {
		display: block;
		width: auto;
		margin:  0 15px;
		padding: 0 20px;
	}

	body.layout-option2 #header-bg .jscript_bg .more {
		width: auto;
		margin-top: 200px;
	}
    
    body.layout-option2 #intro-header {
        height: auto;
    }

    body.layout-option2 #header-bg .jscript_bg .more {
        padding: 15px 0;
    }

    body.layout-option2 #intro-header h1,
    body.layout-option2 #intro-header h2,
    body.layout-option2 #intro-header h3 {
        line-height: 1.2;
        font-size: 20px;
    }

	div.large_intro {
		font-size: 32px;
	}

	body.layout-option2 #top-phone {
		text-align: center;
	}

	body.layout-option2 #main-pre-1-bg,
	body.layout-option2 #main-pre-2-bg {
		padding-left: 20px;
		padding-right: 20px;
	}

	div.phone_number {
		font-size: 34px;
	}

	body.layout-option2 #main-left td, 
	body.layout-option2 #main-left td.left,
	body.layout-option2 #main-left td.right {
		padding: 5px;
	}

	body.layout-option2 #main-left div.content_contact input.text, 
	body.layout-option2 #main-left tr.captcha input, 
	body.layout-option2 #main-left td.right select, 
	body.layout-option2 #main-left div.content_contact textarea {
		max-width: 100%;
	}

	div.submit input.submit {
		font-size: 18px;
	}

	#lower-1-bg,
	#lower-2-bg {
		padding-left: 20px;
		padding-right: 20px;
	}

	body.layout-option1 #header-bg .jscript_bg .more {
		padding-top: 20px;
		padding-left: 20px;
		padding-right: 20px;
	}

	body.layout-option1 #header-bg, body.layout-option1 #intro-header {
		height: 220px !important;
		min-height: 0 !important;
	}

    body.layout-option2 #header-bg .jscript_bg .more {
        margin-top: 0;
    }

    body.layout-option1 #box_30 .jscript_bg, body.layout-option2 #box_30 .jscript_bg {
        background-size: cover;
    }

	#box_30 .content_box_bg, #box_30 .jscript_gallery_bg, #box_30 .content, #box_30 .images, #box_30 .jscript_bg {
		position: absolute !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		top: 0 !important;
        width: auto !important;
        height: auto !important;
	}

    #box_30 .jscript_bg {
        background-size: contain;
        background-position: center;
    }

	body.layout-option1 #header-bg .jscript_bg .more {
		padding: 30px !important;
	}
} 

@media (max-width: 630px) {
	div.phone_number {
		font-size: 28px;
	}
}

@media (max-width: 500px) {
	h1 {
		font-size: 24px;
		line-height: 34px;
	}

	#header-bg {
		height: 140px;
	}

	#top-header {
		padding: 10px;
		display: none;
	}

	#top-header div.content_phpcode {
		font-size: 16px;
	}

	#top-header h1, #top-header h2, #top-header h3 {
		font-size: 12px;
		line-height: 16px;
	}

	#main-left div.content_contact input.text, #main-left tr.captcha input, #main-left div.content_contact textarea {
		width: 250px;
	}

	#footer div.content_phpcode {
		font-size: 12px;
	}

	#box_7 * {
		font-size: 10px !important;
	}
}

@media (max-width: 400px) {
	div.large_intro {
		font-size: 22px;
	}

	body.layout-option1 span.phone-container {
		font-size: 30px !important;
	}

	body.layout-option1 div.phone_number {
		font-size: 24px;
	}

    body.layout-option2 #intro-header h1,
    body.layout-option2 #intro-header h2,
    body.layout-option2 #intro-header h3 {
        line-height: 1.2;
        font-size: 16px;
    }

	/* MORCELLATOR */

	body.layout-morcellator #header-bg {
		display: none;
	}

	body.layout-morcellator div.content_contact2 td.right input,
	body.layout-morcellator div.content_contact2 td.right textarea {
		max-width: 100%;
		width: 100%;
	}

	body.layout-morcellator div.submit input.submit {
		width: 100%;
		max-width: 100%;
		text-align: center;
		padding-left: 0;
		padding-right: 0;
	}

	body.layout-morcellator h1 {
		line-height: 1.2;
		font-size: 18px;
	}

	body.layout-pbm h1 {
		line-height: 1.2;
		font-size: 18px;
	}

	/* PBM */

	body.layout-pbm #top-logo {
		background: none;
		width: auto;
		height: auto;
	}

	body.layout-pbm #top-logo img {
		display: block;
		max-width: 100%;
	}

	body.layout-pbm #header-bg .jscript_bg .more {
		padding-top: 0;
	}

	body.layout-pbm #intro-header {
		height: auto;
		min-height: 1px;
	}

	body.layout-pbm #box_30 .content_box_bg,
	body.layout-pbm #box_30 .jscript_gallery_bg,
	body.layout-pbm #box_30 .content,
	body.layout-pbm #box_30 .images,
	body.layout-pbm #box_30 .jscript_bg {
		position: relative !important;
	}

	body.layout-pbm #box_30 .jscript_image {
		background: none !important;
		padding-top: 10px;
		padding-bottom: 10px;
	}

	body.layout-pbm #main-left div.content_contact input.text,
	body.layout-pbm #main-left div.content_contact textarea {
		width: 100%;
		max-width: 100%;
	}

	body.layout-pbm div.submit input.submit {
		width: 100%;
		max-width: 100%;
		text-align: center;
		padding-left: 0;
		padding-right: 0;
		font-size: 14px;
	}

	body.layout-pbm #main-left img,
	body.layout-pbm #main-right img {
		max-width: 100%;
	}

	body.layout-pbm #main-right {
		padding-left: 0;
		padding-right: 0;
	}

	body.layout-pbm #logos {
		display: none;
	}

	body.layout-pbm #footer-bg {
		padding: 15px 0;
	}

	body.layout-pbm #footer-bg .phone_number {
		font-size: 14px;
	}

	/* CLERGY */

	body.layout-clergy #main-left img,
	body.layout-clergy #main-right img {
		max-width: 100%;
	}

	body.layout-clergy #main-left div.content_contact input.text,
	body.layout-clergy #main-left div.content_contact textarea {
		width: 100%;
		max-width: 100%;
	}

	body.layout-clergy #main-right {
		padding-left: 0;
		padding-right: 0;
	}

	body.layout-clergy #box_30 .content_box_bg,
	body.layout-clergy #box_30 .jscript_gallery_bg,
	body.layout-clergy #box_30 .content,
	body.layout-clergy #box_30 .images,
	body.layout-clergy #box_30 .jscript_bg {
		position: relative !important;
	}

	body.layout-clergy #box_30 .jscript_image {
		background: none !important;
		padding-top: 10px;
		padding-bottom: 10px;
	}

	body.layout-clergy #header-bg .jscript_bg .more {
		padding-top: 0;
		padding-bottom: 10px;
	}

	body.layout-clergy #intro-header {
		height: auto;
		min-height: 1px;
	}

	body.layout-clergy #top-phone {
		padding: 0;
	}

	body.layout-clergy #top-phone .phone_number {
		padding-top: 10px;
	}

	body.layout-clergy #top-phone .phone-container {
		height: auto;
		line-height: normal;
	}

	body.layout-clergy div.submit input.submit {
		width: 100%;
		max-width: 100%;
		text-align: center;
		padding-left: 0;
		padding-right: 0;
		font-size: 14px;
	}

	body.layout-clergy #box_581 img {
		display: none;
	}

	body.layout-clergy #logos {
		display: none;
	}

	body.layout-clergy #main-bg {
		padding-bottom: 0;
	}

	body.layout-clergy #footer-bg {
		padding: 15px 0;
	}

	body.layout-clergy #footer p {
		text-align: left !important;
		font-size: 12px;
	}

}