@font-face {
    font-family: 'Sylfaen';
    src: url('../fonts/sylfaen-webfont.eot');
    src: url('../fonts/sylfaen-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/sylfaen-webfont.woff') format('woff'),
         url('../fonts/sylfaen-webfont.ttf') format('truetype'),
         url('../fonts/sylfaen-webfont.svg#sylfaenregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Centaur';
    src: url('../fonts/centaur-webfont.eot');
    src: url('../fonts/centaur-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/centaur-webfont.woff') format('woff'),
         url('../fonts/centaur-webfont.ttf') format('truetype'),
         url('../fonts/centaur-webfont.svg#centaurregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'CachetBold';
    src: url('../fonts/cachet-bold.eot');
    src: url('../fonts/cachet-bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/cachet-bold.woff') format('woff'),
         url('../fonts/cachet-bold.ttf') format('truetype'),
         url('../fonts/cachet-bold.svg#CachetBold') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'CachetBook';
    src: url('../fonts/cachet-book.eot');
    src: url('../fonts/cachet-book.eot?#iefix') format('embedded-opentype'),
         url('../fonts/cachet-book.woff') format('woff'),
         url('../fonts/cachet-book.ttf') format('truetype'),
         url('../fonts/cachet-book.svg#CachetBook') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'CachetMedium';
    src: url('../fonts/cachet-medium.eot');
    src: url('../fonts/cachet-medium.eot?#iefix') format('embedded-opentype'),
         url('../fonts/cachet-medium.woff') format('woff'),
         url('../fonts/cachet-medium.ttf') format('truetype'),
         url('../fonts/cachet-medium.svg#CachetMediumRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}



h1 {
	font: normal 40px Sylfaen;
	text-align: center;
}
h1:after {
	content: url(../images/img-flourish.gif);
	display: block;
	margin: 10px auto 0;
}

body {
	font: normal 17px Sylfaen, 'Myriad Hebrew', Arial, Helvetica, sans-serif;
	background: url(../images/bg-header.png) top center repeat-x;
	margin: 0;
	padding: 0;
	color: #2e2828;
}
body.home {
  background: url(../images/bg-header.png) top center repeat-x, url(../images/img-hero-sign.jpg) top center no-repeat;
  background-color: #f3f3f4;
}

a:link, a:visited {
	color: #0089ff;
	text-decoration: none;
}
a:hover, a:active, a:focus {
	text-decoration: none;
}


#header {
height: 165px;
}
#header .logo {
margin-top: 24px;
margin-left: 5px;
}

ul.header-links {
margin-top: 100px;
padding: 0px;
list-style: none;
float: right;
}
ul.header-links li {
display: inline-block;
padding-left: 13px;
}
ul.header-links li a {
color: #3f3e3e;
font: normal 16px 'Cachet Medium';
text-transform: uppercase;
}
ul.header-links li a:hover,
ul.header-links li a[href="#login"],
ul.header-links li a[href="https://webinquiry.imtapps.com/payments/policy-lookup/28d8de46d538431baa0fbe196b9e4543"] {
color: #1889e9;
}
ul.header-links li a:after {
content: url(../images/img-arrow.png);
padding-left: 3px;
}
ul.header-links li a:hover:after,
ul.header-links li a[href="#login"]:after,
ul.header-links li a[href="https://webinquiry.imtapps.com/payments/policy-lookup/28d8de46d538431baa0fbe196b9e4543"]:after {
content: url(../images/img-arrow-blue.png);
}
ul.header-links li:first-child a {
  padding-left: 0px;
}
body.home ul.header-links li a[href="index.php"], body.aboutus ul.header-links li a[href="aboutus.php"], body.agents ul.header-links li a[href="agents.php"], body.claims ul.header-links li a[href="claims.php"], body.payment ul.header-links li a[href="payment.php"], body.contact ul.header-links li a[href="contact.php"] {
  color: #dbdada;
  text-decoration: underline;
}
body.home ul.header-links li a[href="index.php"]:after, body.aboutus ul.header-links li a[href="aboutus.php"]:after, body.agents ul.header-links li a[href="agents.php"]:after, body.claims ul.header-links li a[href="claims.php"]:after, body.payment ul.header-links li a[href="payment.php"]:after, body.contact ul.header-links li a[href="contact.php"]:after {
content: url(../images/img-arrow-gray.png);
}
ul.header-links li:last-child:after {
content: "";
padding-left: 0px;
}

#header, #container, .bottom-content, #footer, .site-credit { width: 980px; margin: 0px auto; position: relative; }

.container-wrapper { background-color: #fff; }
body.home .container-wrapper { margin-top: 490px; }

#container {
padding-bottom: 30px;
}
body.home #container {
padding-top: 30px;
}

.content p {

}


.content ul, .content ol {  padding: 0 15px 15px 40px; }

.divider { margin: 54px 0px; }

.bottom-content-wrapper { background-color: #147ad0;  padding: 10px 0px 30px;
   -moz-box-shadow:    inset 0 0 8px #000000;
   -webkit-box-shadow: inset 0 0 8px #000000;
   box-shadow:         inset 0 0 8px #000000;
}
.footer-wrapper { background-color: #21252a; padding: 20px 0px; }

.bottom-content { color: #fff; font: normal 14px/30px Tahoma; }
.bottom-content h2 { margin-bottom: 8px; }

#login { text-align: center; padding: 10px 0px; }
#login form { margin: 40px auto 0px auto; }
#login form p { font: normal 30px Sylfaen; color: #fff; margin: 0px; }
#login form input[type=text], #login form input[type=password] { font: normal 28px Sylfaen; color: #8f8f8f; text-align: center; width: 422px; height: 57px; background: url(../images/bg-input.png) top left no-repeat !important; border: 0px; display: block; margin: 0px auto; }
#login form input.submit {  }

#footer { color: #fff; font: normal 15px/43px 'Cachet Bold'; text-transform: uppercase; }
#footer p { margin: 0px; }
#footer .column { float: left; width: 325px; text-align: center; color: #cdcfd2; min-height: 285px; }
#footer .column h3 { border-top: 1px solid #1f2d3b; border-bottom: 1px solid #1f2d3b; }
#footer .column:nth-child(3) p { text-transform: none; color: #cdcfd2; font-family: Myriad Pro; font-size: 14px; }
#footer .column ul { margin: 0px; padding: 0px; list-style: none; }
#footer .column a {  }

.site-credit-wrapper { background-color: #161718; padding: 10px 0; }
.site-credit-wrapper .hdg { color: #bababa; height: 54px; width: 230px; display: block; text-align: right; font-size: 11px; font-family: Arial; position: relative; background: url(../images/img-logo-hdg.png) top left no-repeat; }
.site-credit-wrapper .hdg span { position: absolute; bottom: 5px; right: 5px; }


/*  Homepage Styles  */
.agents-gallery .gallery-heading { font: normal 30px Sylfaen; text-align: center; }
.agents-gallery .gallery-heading2 { font: normal 27px Sylfaen; text-align: center; font-style: italic; }
.agents-gallery { text-align: center; }
.agents-gallery .agent { width: 200px; display: inline-block; vertical-align: top; margin: 0 20px 35px; text-align: center; }
/*.agents-gallery .agent:nth-child(5n+1) { margin-right: 0px; }*/

.agents-gallery .agent p { margin: 0px; line-height: 23px; font-size: 16px; }
.agents-gallery .agent p.profile-small { font-size:13px; }

.agents-gallery .agent a { font-size: 15px; line-height: 18px; }

.index-tag {
  width:283px;
  box-sizing:border-box;
  margin:87px 0 0 0;
  color:#000;
  font: normal 17px Sylfaen, 'Myriad Hebrew', Arial, Helvetica, sans-serif;
}
.index-tag span {
  background-color:#7f7f7f;
  border-radius:10px 10px 0 0;
  border-left: 2px solid #9a996b;
  border-top: 2px solid #9a996b;
  border-right: 2px solid #9a996b;
  border-bottom: 2px solid #cbcdb5;
  color:#fff;
  display:block;
  font-size:15.5px;
  line-height:33px;
  text-align:center;
  padding-top:5px;
}
.index-tag span img {
  border:2px solid #fff;
  border-radius:10px;
}
.index-tag p {
  background-color: #fff;
  border-left: 2px solid #9a996b;
  border-right: 2px solid #9a996b;
  border-bottom: 2px solid #9a996b;
  border-radius: 0 0 10px 10px;
  margin: 0;
  font-size: 14.3px;
  padding: 7px 9px;
  line-height: 19px;
}
.index-tag p a {
  color: #177cd8
}

#facebook {
  position: absolute;
  top: 10px;
  right: 0;
}

/*.agents-gallery .agent .photo { background: url(../images/img-agentframe.gif) top left no-repeat; position: relative; height: 212px; }*/
.agents-gallery .agent .photo img { display: block; margin: 0px auto; /*position: absolute; z-index: 1; top: 8px; left: 8px;*/ }
.agents-gallery .agent .title { display: none; }
.agents-gallery .agent .name { font-size: 20px;}
.agents-gallery .agent .phone { color: #514e4e; font-size: 16px; }

/* Agents Page Styles  */
body.agents .agents-gallery .agent { width: 435px; text-align: left; margin: 0px 10px 10px 0; padding: 15px 15px 8px; border: 2px solid #ccc; }
body.agents .agents-gallery .agent .photo { float: left; width: 200px; }
body.agents .agents-gallery .agent .photo img { margin-left: 0; }
body.agents .agents-gallery .agent .name { margin-top: 15px; }
body.agents .agents-gallery .agent .bio { font-size: 15px; line-height: 18px; margin-top: 10px; }

/* About Us Move using Agents Page Styles  */
body.aboutus .agents-gallery .agent { width: 435px; text-align: left; margin: 0px 10px 10px 0; padding: 15px 15px 8px; border: 2px solid #ccc; }
body.aboutus .agents-gallery .agent .photo { float: left; width: 200px; }
body.aboutus .agents-gallery .agent .photo img { margin-left: 0; }
body.aboutus .agents-gallery .agent .name { margin-top: 15px; }
body.aboutus .agents-gallery .agent .bio { font-size: 15px; line-height: 18px; margin-top: 10px; }

body.aboutus .agents-gallery .employees-gallery { border: 2px solid #ccc; text-align: left; padding: 20px 60px; }
body.aboutus .agents-gallery .employees-gallery .photo.large, body.aboutus .agents-gallery .employees-gallery .employee-info { display: inline-block; vertical-align: middle }
body.aboutus .agents-gallery .employees-gallery .photo.large { width: 52%; }
body.aboutus .agents-gallery .employees-gallery .employee-info { width: 47%; }
body.aboutus .agents-gallery .employees-gallery .photo.large img { border: 4px solid #9b9b9b; border-radius: 7px; }
body.aboutus .agents-gallery .employees-gallery .agent { border: 0; width: 100%; padding: 0; }
body.aboutus .agents-gallery .employees-gallery p { margin: 0; }