﻿body
{
    font-family:Arial, Helvetica, sans-serif;
}

#divbrokermapcontainer {
    width: 98%;
    min-width: 900px;
}

#printdiv {
    width: 90%;
    text-align: right;
    height: 35px;
}
#printdiv ul {
    list-style: none;
    height: 25px;
}
#printdiv ul li {
    display: inline-block;
    cursor: pointer;
    margin: 0;
    padding: 0;
    width: 100px;
    text-align: left;
}
#printdiv img { 
    top: 0;
    padding: 0;
    margin: 0;
}

#printdiv a {
    font-size: 14pt;
    padding: 0;
    margin-top: 3px;
    vertical-align: top;
    display: inline-block;
}

/* --- start of controls ---*/
#tabs-1 {
    padding:0px;
    margin:0px;
}

.ui-tabs-nav { 
    margin: 0;
    padding-left: 0px; 
    border-width: 0px 0px 1px 0px; 
    -moz-border-radius: 2px; 
    -webkit-border-radius: 2px; 
    border-radius: 2px;
} 
.ui-tabs-nav li {
    border: none;
}
.ui-tabs-nav li a {
    background: #EEE;
    padding-left: 0px;
    color:#09056c;
    -moz-border-radius: 2px; 
    -webkit-border-radius: 2px; 
    border-radius: 2px;
    height:14px;
    font-size: 12px;
}

.ui-widget {
    padding: 0px;
    font-family: Arial !important;
}


h2 {
    color: #0a066a;
    font-family: "Arial";
    font-size: 39px;
    font-weight: lighter;
    text-transform: capitalize;
    padding: 0;
    margin-bottom: 0;
}
h4 {
    font-family: "Arial";
    font-size: 14pt;
    margin-top: 10px;
}

printdiv {
    font-family: Arial !important;
    margin: 0;
    padding: 0;
}

.controls{
    border: 1px solid gray;
}

#searchcontrolsdiv 
{
    width: 40%;
    float: left;
    margin: 0px;
    border-right: 1px solid gray;
}

#searchcontrolsdiv #sctrls {
    display: block;
    padding: 10px;
    background: #EEE;
}

#searchcontrolsdiv #sctrls label {
    font-size: 10pt;
}
#searchcontrolsdiv #sctrls span{
    border: 1px solid #a8a5a5;
    background: #FFF;
    height: 35px;
    display: inline-block;
    width: 100%;
    padding: 0px;
    vertical-align: middle;
}

#searchcontrolsdiv div#brokersearchbox{
    margin-left: 8px;    
}

#brokersearchbox
{
    background-color: #fff;
    font-family: Roboto;
    font-size: 15px;
    font-weight: 300;
    width: 91%;
    height: 35px;
    display: inline-block;
    background: none;
    border: none;
    float: left;
}

#divlisting {
    width: 100%;
    height: 411px;
    overflow: auto;
	overflow-x: hidden;
    border-top: 1px solid gray;    
}

#spRefresh {
    margin-top: 1px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    background-image: url('../images/mag_32.png');
    background-repeat: no-repeat;
    border-radius: 3px;
    float: right;
}

/* --- end of controls*/

/*--- start of search results area---*/
#searchresdiv {
	width: 100%;
}

#map
{
    top: 0px;
    height: 500px;  
    box-shadow: -1px 0px 5px #888888;  
    font-family: Arial !important;
}

.markerlabel_list {
    display: inline-block; 
    float: left; 
    margin-left: -17px; 
    margin-top:4px;
    font-weight:bold;
    font-size: 10px; 
    text-align: center;
}

.markerlabel_list_for_numbers {
    margin-left: -20px;
}

.selectedbroker {
	background-color: Yellow;	
}

#aglist, #aglist-print {
    list-style-image: url('/brokersearch/images/marker60.png');
    list-style-position: inside;
    padding: 0 5px 0 0;
}
#aglist-print {
    border: 1px solid gray;
}
#aglist li, #aglist-print li 
{
    height: 100%;
    font-size: 10pt;
    vertical-align: top;
    border-bottom: 1px solid gray;
    padding: 5px 0 3px 5px;
    display: block;
}

#aglist li div, #aglist-print li div {
    vertical-align: top;
    padding: 0px;
}
#aglist li img {
	display: inline-block; 
	float: left; 
	cursor: pointer;
}

/*print formatting*/
#aglist-print li {
    font-size: smaller;
    /*vertical-align: top*/
    /*broker with a secondary name has a bigger height of <li>, make it 100%, give it a little margin and give the bottom border as the separator*/
    height: 100%;
    margin: 2px;
    border-bottom:1px solid gray
}
#aglist-print li img {
    float: none;    /*screen format has float that print doesn't seem to like*/
}

#aglist-print li div.markerlabel_list {/* label on the markers*/    
    margin-left: -20px;
    display: inline-block;
    float: none;    /*screen format has float that print doesn't seem to like*/
}

#aglist-print li:nth-child(n+108) div.markerlabel_list {/*after n+108: move the label number (3 digits) further left;100 (0~99) broker info 'li' + 8  page break 'li' inserted*/
    margin-left: -22px;
    display: inline-block;
    float: none;    /*screen format has float that print doesn't seem to like*/
}
#aglist-print li  div.brokerinfo {/*lift it up to align to the marker top; to keep Get Directions element in its position*/
    margin-top: 0px;
    display: inline-block;
    width: 90%;
}

.resulttooltip {
	display: none;
    position: relative;
    top: 2px;
    left: 2px;
    width: 24em;
    border: 1px solid gray;
    background: #fffdc3;
    z-index: 2;
}

/*--- end of search results area---*/

/*--- map objects ---*/
#infobox
{
    border: 2px solid black;
    margin-top: 8px;
    background: #333;
    color: #FFF;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    padding: .5em 1em;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    text-shadow: 0 -1px #000000;
    -webkit-box-shadow: 0 0 8px #000;
    box-shadow: 0 0 8px #000;
}

/*--- error ---*/

.error-title, .error {
    color: #a5a5a5;
    font-family: Georgia,serif;
    font-style: italic;
    margin-left: 10px;
}