<style>

html, body {
	margin: 0;
	padding: 0;
	border: 0;
}

table{
	border: 1px solid #444444;
	width: 100%;
	font-size: 12px;
	border-collapse: collapse;
}

th {
	border: 1px solid #5d8ec4;
	background: #2D5078 url(https://www.lancasterfarming.com//images/ui-bg_glass_50_3baae3_1x400.png) 50% 50% repeat-x;
	font-weight: bold;
	color: #ffffff;
	text-shadow: none;
}

td {
	border: 1px solid #444444;
	padding: 3px;
}

.ui-icon-skull:after {
    background-image: url("21-skull.png");
    /* Make your icon fit */
    background-size: 18px 18px;
}

.ui-mobile .ui-page-active {
	overflow-x: visible;
}

.ui-overlay-a, .ui-page-theme-a, .ui-page-theme-a .ui-panel-wrapper {
	background-color: #ffffff;
	border-color: #ffffff;
}

.ui-bar-a, .ui-page-theme-a .ui-bar-inherit, html .ui-bar-a .ui-bar-inherit, html .ui-body-a .ui-bar-inherit, html body .ui-group-theme-a .ui-bar-inherit {
	border: 1px solid #5d8ec4;
	background: #2D5078 url(https://www.lancasterfarming.com//images/ui-bg_glass_50_3baae3_1x400.png) 50% 50% repeat-x;
	font-weight: bold;
	color: #ffffff;
	text-shadow: none;
}	
	
.ui-controlgroup-label legend {
	width: 100%;
	font-weight: bold;
}

.ui-controlgroup-horizontal .ui-controlgroup-controls .ui-btn {
	font-size: smaller;
}

.ui-field-contain .ui-controlgroup-label{
	width: 100%;
}

.ui-controlgroup-controls {
	line-height: 1.1em;
}

.ui-controlgroup-vertical .ui-controlgroup-controls .ui-btn {
	line-height: 1.1em;
	padding-top: 5px;
	padding-bottom: 5px;
}

.ui-radio {
	width: 80%;
}

#black_list_form {
	margin-top: 20px;
}

.custom-label-flipswitch.ui-flipswitch .ui-btn.ui-flipswitch-on {
    text-indent: -3.4em;
}
.custom-label-flipswitch.ui-flipswitch .ui-flipswitch-off {
    text-indent: 0.5em;
	background-color: #E5E0DD;
	color: black;
	padding-right: 11px;
}
.ui-flipswitch {
	width: 100px;
}

#help_link, #help_link:hover, #help_link:focus, #help_link:active, #help_link:visited {
	background-color: #ffffff;
	border: none;
	box-shadow: none;
	background: none;
	color: #444444;
	padding: 0px;
	text-align: left;
}

#login_form_wrapper {
	position: relative;
}


#login_content {
	position: relative;
}

#place_ad_wrapper {
	position: absolute;
	top: 0px;
	left: 500px;
}

#login_form, #ad_form, #search_form, #thank_you_content {
	padding-left: 10px;
	width: 300px;
}

.required_info {
	padding-left: 10px;
	width: 100%;
	color: #ac0636;
	font-size: small;
}

.highlight_text {
	font-weight:bold;
	color:#ac0636;
}

.popup_msg_dialog {
	text-align: center;
}

.popup_msg_content {
	text-align: center;
	line-height: 32px;
	padding-left: 10px;
	padding-right: 10px;
}

.popup_msg {
	text-align: left;
}

#ad_placed_dialog {
	text-align: center;
}

#ad_placed_content { 
	text-align: center;
	line-height: 45px;
	padding-left: 10px;
	padding-right: 10px;
}

#login_msg, #ad_msg, #account_number_msg {
	font-size: medium;
	font-weight: bold;
	width: 370px;
}

#find_acct_info {
	padding-left: 10px;
	padding-right: 10px;
	color: #000000;
	position: absolute;
	left: 435px;
}

#ad_instructions {
	padding-left: 10px;
	padding-right: 10px;
	color: #000000;
	position: absolute;
	left: 385px;
	width: 400px;
}

#acct_info, #ad_info {
	padding: 10px;
	border: 2px solid #444444;
	margin-top: 10px;
	width: 300px;
}

#ad_text {
	margin-bottom: 6px;
}

#words_remaining {
	font-size: small;
	color: #ac0636;
	text-align: left;
	position: relative;
	padding-bottom: 6px;
}

#clear_ad_text {
	font-size: small;
	position: absolute;
	top: -10px;
	right: 0px;
}

#cs_info_wrapper {
	position: absolute;
	top: 27px;
	left: 450px;
}

#cs_search_results_wrapper {
	position: relative;
	width: 98%;
	margin-left: auto;
	margin-right: auto;
}

#cs_history_wrapper {
	position: relative;
	left: -440px;
	margin-bottom: 25px;
	top: 100px;
}

#cs_results_wrapper {
	position: relative;
	margin-bottom: 25px;
	top: 50px;
}

#cs_acct_wrapper{
	position: relative;
	margin-bottom: 25px;
}

#cs_acct_info, #cs_history_info, #cs_results_info {
	padding: 10px;
	border: 2px solid #444444;
	margin-top: 10px;
}

#cs_acct_info {
	width: 400px;
	position: relative;
}

#cs_history_info {
	width: 100%;
}

#now_showing, #now_showing_results {
	width: 98%;
	margin-top: 5px;
	margin-bottom: 3px;
	padding-left: 1%;
}

#page_select-button, #page_select_results-button {
	width: 28px;
	position: absolute;
	top: -30px;
	left: 45px;
}

#total_pages, #total_pages_results {
	position: relative;
	top: -27px;
	left: 125px;
}

#search_content {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

#ad_results {
    width: 99%;
}

.wait_image {
	background: #ffffff url("loading.gif") no-repeat center center;
	width: 100%;
	height: 200px;
}

.cs_header {
	font-weight: bold;
	position: absolute;
	top: -10px;
	background-color: #ffffff;
	display: block;
	-webkit-padding-start: 2px;
	-webkit-padding-end: 2px;
	border: none;
	border-image-source: initial;
	border-image-slice: initial;
	border-image-width: initial;
	border-image-outset: initial;
	border-image-repeat: initial;
}

.ui-mobile label {
	font-weight: bold;
}

.ui-page-theme-a .ui-btn:hover {
	background: #2D5078 url(https://www.lancasterfarming.com//images/ui-bg_glass_50_3baae3_1x400.png) 50% 50% repeat-x;
	border: 1px solid #5d8ec4;
	color: #ffffff;
	text-shadow: none;
}

#place_ad_content {
	padding-left: 10px;
}

.now_showing_results {
    width: 98%;
    text-align: center;
    height: 50px;
    position: relative;
}

.prev_page_results {
    position:absolute;
    left: 0px;
    top: 0px;
}

.next_page_results  {
    position:absolute;
    right: 0px;
    top: 0px;
}

.current_page_results, total_pages_results {
    line-height: 50px;
    position: relative;
}

#results_info {
    padding: 10px;
	margin-top: 10px;
}

#search_form_wrapper {
	margin-top: 10px;
}

.search_results_header {
	border: 1px solid #5d8ec4;
	background: #2D5078 url(https://www.lancasterfarming.com//images/ui-bg_glass_50_3baae3_1x400.png) 50% 50% repeat-x;
	font-weight: bold;
	color: #ffffff;
	text-shadow: none;
	margin-bottom: 5px;
	padding: 5px 0 5px 3px;
	width: 98%;
}

.ad_text {
    text-align: justify;
}

.class_head {
    font-weight: bold;
    text-align: center;
    margin-bottom: 2px;
    margin-top: 3px;
    color: #ffffff;
    text-shadow: none;
    padding: 5px;
    border: 1px solid #5d8ec4;
    background: #2D5078 url(https://www.lancasterfarming.com//images/ui-bg_glass_50_3baae3_1x400.png) 50% 50% repeat-x;
}

.ad_result {
    padding-bottom: 5px;
    border-bottom: 2px solid #5d8ec4;
}

.ui-header .ui-title, .ui-footer .ui-title {
	margin: 0 0;
	white-space: normal;
}

@media (max-width: 786px) {
	#ad_instructions {
		padding-left: 5px;
		padding-right: 5px;
		position: relative;
		left: 0px;
	}
	
	#find_acct_info {
		left: 385px;
	}
	
	#place_ad_wrapper {
		left: 375px;
	}
	
	#login_msg, #ad_msg, #account_number_msg {
		width: 390px;
	}
}

@media (max-width: 725px) {
	#find_acct_info {
		padding-left: 5px;
		padding-right: 5px;
		position: relative;
		left: 0px;
	}
}

@media (max-width: 480px) {
	#ad_instructions {
		width:95%;
	}
	
	#login_form {
		padding-left: 5px;
	}
	
	#place_ad_content {
		padding-left: 5px;
	}
	
	#ad_form, #thank_you_content {
		padding-left: 0px;
	}
	
	#place_ad_wrapper {
		position: relative;
		left: 0px;
	}
	
	#login_msg, #ad_msg, #account_number_msg {
		width: 295px;
	}
}

@media (max-width: 350px) {
	#find_acct_info img {
		width: 90%;
	}

 </style>