.alert.alert-error, .alert.alert-success {
    text-align: center;
}
body .gw_left_content [class*="span"] label{
	text-align: left;
}
form.search label sup {
	color: #FF0000;
	font-size: 14px;
}
select {
	width: 100%;
}
.controls>input, .controls > textarea, .controls > .uneditable-input, table input, body table input {
	width: 97%;
}

@media (min-width: 680px) {    
	body .gw_left_content .payer_right [class*="span"] label{
		text-align: right;
	}
	.gw_min_680_invisible
	{
		display: none !important;
	}
	#result table.gw_payer_tbl_res_accounts {      
		width: 100%;
	}
	#result table {
		font-size:12px;
		color:#000;
		border:#ccc 1px solid;
		border-collapse:collapse;
	}
	#result table td {
		padding:5px 7px;
		max-width:330px;
		border-bottom:1px solid #ccc;
		/*  white-space: pre-wrap;*/
		white-space: -moz-pre-wrap;
		word-wrap: break-word;
		text-align: center;
	}
	#result table td.no_bottom_border {
		padding:5px 7px;
		max-width:330px;
		border-bottom: none;
		/*  white-space: pre-wrap;*/
		white-space: -moz-pre-wrap;
		word-wrap: break-word;
		text-align: center;
	}
	#result table th {
		border-bottom:1px solid #ccc;
		padding:5px 2px 5px 10px;
		background:#f0f0f1;
		font-weight:bold;
		vertical-align: middle;
		text-align: center;
	}
	#result table .header_summary th.item_summary {
		background: none repeat scroll 0 0 #ffffff;
	}

	#result table th.active {
		background:#e2e2e2;
	}
	#result table th.arrow {
		cursor:pointer;
	}
	#result table th.arrow span {
		float:left;
		width:10px;
		height:10px;
		position:relative;
		top:2px;
		left:-5px;
		background:url(/resources/img/admin/result-arrow-admin.png) 100% 0 no-repeat;
	}
	#result.accounting_summary table th.arrow.paid_atheader span {
		float:right;  
	}
	#result table th.active.arrow span {
		background-position:0 0;
	}
	#result table th.order-desc.arrow span {
		background-position:0 0;
		background:url(/resources/img/admin/result-arrow-admin-desc.png) no-repeat;
	}
	#result table .middle {
		text-align:center;
		vertical-align:middle;
		padding:10px 5px 2px 10px;
	}
	#result table span.descr{
		display:block;
		font-size:9px;
		max-width:450px;  
		white-space: pre-wrap;
		white-space: -moz-pre-wrap;
		word-wrap: break-word;
	}
	#result table tr:hover td {
		background-color:#e8f3f9;
	}
	a.gw_detail_toggle {
		width: 98%;
		cursor: pointer;
		display: block;
		text-decoration: none;
		padding: 5px 1%;
	}
	a.gw_detail_toggle :hover {
		text-decoration: none;
	}
	.gw_detail_toggle-icon {
		float: right;
		margin-right: 10px;
		margin-top: 0px;
	}

	.last4, .nickname, .action {
		text-align: left
	}

	.actions_label {
		text-align: center !important;
	} 
	.payer-bills-actions, .payer-wallet-actions {
		text-align: center !important;
	}

	.button-nav {
		padding-bottom: 10px;
	}
	table#adm_estore_view_order_items>tbody>tr>td.item_name {text-align: left;}
	
	#result table.profile {
	    width: 100%;
	    border: none;
	}
	#result.profie-summary {
		text-align: center;
	}
	#result table.profile td:first-child {
	    padding: 5px 7px;
	    max-width: 150px;
		border: none;
	    white-space: -moz-pre-wrap;
	    word-wrap: break-word;
	}
	#result table.profile td {
	    padding: 5px 7px;
		border: none;
	    white-space: -moz-pre-wrap;
	    word-wrap: break-word;
	}
	form.profile {
		width: 98%;
	}
	.clear {
		clear: both;
	}
	.responsive-tabs-container {
	    display: none;
	}
	.nav-tabs li.active a, .nav-tabs li.active a:hover {
		background-color: #000000;
		color: #FFFFFF;
	}
	.nav-tabs li a:hover {
		background-color: #000000;
		color: #FFFFFF;
	}
	.nav-tabs li a {
		color: #000000;
	}
/*	.nav-tabs li a {
		background-color: #FFFFFF;
		color: #000000;
	}*/
	.nav-tabs {
	    border-bottom: 1px solid #000000;
	}
	table.edit_profile {
		width:95%;
	}
	.tab-content {
	    overflow: hidden;
	}
	form.search select {
		width: 75%;
	}
}

@media only screen and (max-width: 679px)  {
    /* Force Bails table to not be like tables anymore */    
    table.gw_payer_tbl_res
    {
        table-layout: fixed;
        border-bottom:none;
        border-right: none;
    }
    table.gw_payer_tbl_res,
    table.gw_payer_tbl_res  thead, 
    table.gw_payer_tbl_res  tbody,  
    table.gw_payer_tbl_res  th,  
    table.gw_payer_tbl_res  td,  
    table.gw_payer_tbl_res  tr { 
        display: block; 
    }
    /* Hide table headers (but not display: none;, for accessibility) */
    table.gw_payer_tbl_res  thead tr { 
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    table.gw_payer_tbl_res td.max_480_invisible
    {
        display: none !important;
    }
    table.gw_payer_tbl_res tr td { 
        border: none;
        position: relative;
        padding: 5px 0px 5px 10px; 
        border-bottom: solid 1px #dddddd;
    }  
    table.gw_payer_tbl_res td:before { 
        top: 6px;
        left: 6px;
        padding-right: 10px;
        font-weight: normal;
    }
    table.gw_payer_tbl_res tr
    {
        border: solid 1px #dddddd;
        margin-bottom: 10px;
        border-radius: 5px 5px 5px 5px;
        
    }
/*    table.gw_tbl_main_res tr
    {
        border: none;
        
    }
    table.gw_tbl_main_res td {
    	display: table-cell !important;
	}
	table.gw_tbl_main_res td:first-child {
	    padding: 5px 7px;
	    max-width: 150px;
	    border: none;
	    white-space: -moz-pre-wrap;
	    word-wrap: break-word;
	}*/
    #result table tbody td.last4:before {content: "Credit Card No."}
	#result table tbody td.nickname:before {content: "Nickname"}
	#result table tbody td.is_default:before {content: "Default Card"}
    #result table tbody td.account_number:before {content: "Account #:"}
    #result table tbody td.payment_method:before {content: "Payment Method:"}
    #result table tbody td.payment_date:before {content: "Payment Date:"}
    #result table tbody td.due_date:before {content: "Due Date:"}
    #result table tbody td.balance_due:before {content: "Amount:"}
    #result table tbody td.service:before {content: "Type:"}
    #result table tbody td.service_address:before {content: "Subject:"}
    #result table tbody td.account_identifier:before {content: "Number:"}
    #result table tbody td.subject_name:before {content: "Subject:"}
    #result table.gw_payer_tbl_res_accounts tbody td.year:before {content: "Tax Year:"}
    #result table.gw_payer_tbl_res_accounts tbody td.name:before {content: "Deed Name:"}
    #result table.gw_payer_tbl_res_accounts tbody td.map_code:before {content: "Map Code:"}
    #result table.gw_payer_tbl_res_accounts tbody td.amount:before {content: "Amount:"}
	
	#result table.gw_payer_tbl_res_accounts tbody td.name:before {content: "Deed Name:"}
    #result table.gw_payer_tbl_res_accounts tbody td.map_code:before {content: "Map Code:"}
    #result table.gw_payer_tbl_res_accounts tbody td.amount:before {content: "Amount:"}
	
	table.tracking-table tbody td.action:before {content: "Action:"}
	table.tracking-table tbody td.action-at:before {content: "Action At:"}
	table.tracking-table tbody td.changed-items:before {content: "Changes:"}

/*    #result table tbody td.firstname:before {content: "First Name"}
    #result table tbody td.lastname:before {content: "Last Name"}
    #result table tbody td.email_address:before {content: "Email Address"}
    #result table tbody td.password:before {content: "Password"}*/

    

    table.gw_payer_tbl_res
    {
        table-layout: fixed;
        border-bottom:none;
        border-right: none;
    }
    table.gw_payer_tbl_res,
    table.gw_payer_tbl_res  thead, 
    table.gw_payer_tbl_res  tbody,  
    table.gw_payer_tbl_res  th,  
    table.gw_payer_tbl_res  td,  
    table.gw_payer_tbl_res  tr { 
        display: block; 
    }
    table.gw_payer_tbl_res td.max_480_invisible
    {
        display: none !important;
    }
    table.gw_payer_tbl_res tr td { 
        /* Behave  like a "row" */
        border: none;
        position: relative;
        padding: 5px 0px 5px 10px; 
    }  
    table.gw_payer_tbl_res td:before { 
        top: 6px;
        left: 6px;
        padding-right: 10px;
        font-weight: normal;
    }
    table.gw_payer_tbl_res tr
    {
        margin-bottom: 10px;
        border-radius: 5px 5px 5px 5px;
        
    }
    table.gw_payer_tbl_res tr.detail_toggle_row {
	    background-color: #dddddd;
		border-radius: 0px;
	}
	body .gw_left_content .row-fluid [class*="span"] {
	    display: block;
	    float: none;
	}
	form.profile label {
	    margin-right: 10px !important;
	    text-align: left !important;
	}
	form.profile .wrapp_submit {
	    float: left;
	}
	.responsive-tabs-container {
	    display: block;
	}
	.responsive-tabs-container .accordion-link {
	    display: block;
	    margin-bottom: 10px;
	    padding: 10px 15px;
	    background-color: #FFFFFFF;
	    border-radius: 3px;
	    border: 1px solid #ddd;
	    color: #000000;
	    margin-right: 10px;
	    margin-left: 10px;
	}
	.responsive-tabs-container .active, .responsive-tabs-container a:hover {
	    display: block;
	    margin-bottom: 10px;
	    padding: 10px 15px;
	    background-color: #000000;
	    border-radius: 3px;
	    border: 1px solid #ddd;
	    color: #FFFFFF;
	    margin-right: 10px;
	    margin-left: 10px;
	}
	.nav-tabs, .tab-content #home {
		display: none;
	}
	.tab-pane {
		display: block !important;
	}
}
@media (max-width: 680px) {
	#result table td {
		font-weight: bold;
	}
}
@media (max-width: 480px) {
	.body_payer_account .btn-view-balances, .body_payer_account .btn-search-bills {
		margin-bottom: 10px;
		margin-right: 3px;
	}
}
