body { margin: 0; padding: 0; }
#contentagent { padding-top: 0 !important; transition: 0.3s; }
#contentagent .sectionagent-search { padding-top: 90px !important; }
#contentagent .sectionagent-search:before { background: rgba(10,10,10,0.5); content: ''; display: block; height: 100%; left: 0; position: absolute; top: 0; width: 100%; }

#headeragent { background: transparent; box-sizing: border-box; color: #fff; font-family: 'Open Sans', sans-serif; height: 60px; left: 0; overflow: visible; padding: 0 0 10px 0; position: absolute; text-align: center; top: 0; transition: 0.3s; width: 100%; z-index: 1; }
#headeragent div { box-sizing: border-box; }
#headeragent img { border: 0; display: block; margin: 0; }
#headeragent a { box-sizing: border-box; text-decoration: none; }
#headeragent ul { box-sizing: border-box; font-size: 0; list-style-type: none; margin: 0; padding: 0; }
#headeragent li { box-sizing: border-box; list-style-type: none; margin: 0; padding: 0; position: relative; }

#headeragent-nav { box-sizing: border-box; font-size: 0; margin: 0 auto; max-width: 1440px; position: relative; width: 100%; }
a#headeragent-title { position: absolute; transition: 0.3s; }
a#headeragent-title img { height: 100%; }
a#headeragent-hamburger { display: none; }

ul#headeragent-menu a { display: block; line-height: 20px; text-transform: uppercase; }

@media screen and (min-width: 960px) {
#contentagent .sectionagent-search { padding-top: 200px !important; }	
	
#headeragent { height: 160px; }
a#headeragent-title { left: 20px; height: 90px; top: 20px; }
a#headeragent-login { background: #E6661F; color: #191919; display: inline-block; font-size: 16px; font-weight: 500; line-height: 40px; position: absolute; right: 20px; text-align: center; text-transform: uppercase; top: 20px; transition: 0.3s; width: 165px; }

ul#headeragent-social { display: inline-block; position: absolute; right: 195px; text-align: left; top: 30px; width: auto; transition: 0.3s; }
ul#headeragent-social li { display: inline-block; margin: 0 5px; }
ul#headeragent-social li a { display: block; font-size: 0; }
ul#headeragent-social li a i { color: #fff; display: block; font-size: 18px; line-height: 20px; width: 20px; }

ul#headeragent-menu { display: inline-block; position: absolute; right: 10px; text-align: left; top: 80px; transition: 0.3s; width: auto; }
ul#headeragent-menu > li { display: inline-block; margin: 0; position: relative; vertical-align: top; transition: 0.3s; }
ul#headeragent-menu > li.type-active { z-index: 1; }
ul#headeragent-menu > li > a { color: #fff; font-size: 14px; font-weight: 200; line-height: 40px; padding: 0 10px; transition: 0.3s; }
ul#headeragent-menu > li > a:hover { opacity: 0.8; }
ul#headeragent-menu ul { display: inline-block; display: none; left: 0; position: absolute; top: 40px; min-width: 160px; }
ul#headeragent-menu ul li { display: block; width: 100%; }
ul#headeragent-menu ul a { background: #fff; color: #191919; font-size: 14px; font-weight: 400; padding: 10px; transition: 0.3s; }
ul#headeragent-menu ul a:hover { background: #E6661F; color: #382e2c; }
}
@media screen and (min-width: 1040px) {
ul#headeragent-menu > li > a { font-size: 16px; padding: 0 15px; }
}
@media screen and (min-width: 1280px) {
a#headeragent-title { left: 40px; height: 100px; top: 40px; }
a#headeragent-login { right: 40px; top: 80px; }
ul#headeragent-social { right: 30px; }
ul#headeragent-menu { right: 215px; }
ul#headeragent-menu ul { left: 5px; }
}
@media screen and (max-width: 959px) {
#headeragent { height: 60px; }
a#headeragent-title { left: 20px; height: 50px; top: 5px; }
a#headeragent-login { background: transparent url(header-login.svg) no-repeat 50% 50%; font-size: 0; height: 40px; position: absolute; right: 10px; top: 10px; width: 40px; }

a#headeragent-hamburger { display: block; font-size: 0; padding: 9px 10px; position: absolute; right: 50px; top: 10px; }
a#headeragent-hamburger > span { display: block; height: 19px; position: relative; width: 28px; }
a#headeragent-hamburger > span:before { background: #fff; content: ''; display: block; height: 1px; left: 0; position: absolute; top: 0; transition: 0.3s; width: 28px; }
a#headeragent-hamburger > span:after { background: #fff; bottom: 0; content: ''; display: block; height: 1px; left: 0; position: absolute; transition: 0.3s; width: 28px; }
a#headeragent-hamburger > span span { background: #fff; content: ''; display: block; height: 1px; left: 0; position: absolute; top: 9px; transition: 0.3s; width: 28px; }
a#headeragent-hamburger.type-active > span:before { transform: translateY(9px) rotate(45deg); }
a#headeragent-hamburger.type-active > span:after { transform: translateY(-9px) rotate(-45deg); }
a#headeragent-hamburger.type-active > span span { opacity: 0; }

ul#headeragent-menu { background: #fff; display: block; display: none; left: 0; max-height: calc(100vh - 60px); overflow-y: auto; position: absolute; top: 60px; width: 100%; }
ul#headeragent-menu a { display: block; font-size: 14px; text-align: left; }
ul#headeragent-menu > li > a { border-top: 1px solid #e6e6e6; color: #191919; font-size: 16px; padding: 10px 20px; }
ul#headeragent-menu > li:first-child > a { border-top: none; }
ul#headeragent-menu > li.type-parent > a:after { border: solid #191919; border-width: 0 1px 1px 0; content: ''; display: block; padding: 3px; position: absolute; right: 20px; top: 16px; transform: rotate(45deg); transition: 0.3s; }
ul#headeragent-menu > li.type-parent.type-active > a:after { top: 18px; transform: rotate(-135deg); }
ul#headeragent-menu ul { padding: 0 0 5px 0; }
ul#headeragent-menu ul a { color: #191919; font-size: 14px; padding: 5px 10px 5px 40px; }
}


#footeragent { background: #fff; box-sizing: border-box; color: #191919; display: block; font-family: 'Open Sans', sans-serif; font-weight: 400; padding: 20px 0; text-align: center; width: 100%; }
#footeragent a { color: #191919; }

.footeragent-row { box-sizing: border-box; display: block; margin: 0 auto; max-width: 1400px; overflow: hidden; padding: 0 20px 20px 20px; text-align: center; }
.footeragent-row.footeragent-br { border-top: 1px solid #ccc; margin-top: 20px; padding-top: 20px; }

a#footeragent-title { display: block; height: 90px; }
a#footeragent-title img { display: inline-block; height: 100%; }

ul#footeragent-partner { align-items: center; display: inline-flex; gap: 20px; list-style-type: none; margin: 0; padding: 0; }
ul#footeragent-partner li { display: inline-block; list-style-type: none; margin: 20px 0 0 0; padding: 0; }

p#footeragent-disclaimer { font-size: 10px; margin: 20px 0 0 0; }
p#footeragent-credit { font-size: 14px; font-weight: 200; margin: 5px 0 0 0; }
p#footeragent-credit img { display: inline-block; height: 12px; margin: 0 2px; vertical-align: middle; }
p#footeragent-access { font-size: 10px; margin: 5px 0 0 0; }

a#footeragent-access { box-shadow: inset 0 0 0 1px #fff; display: block; font-size: 14px; line-height: 60px; margin: 40px auto 0 auto; text-transform: uppercase; transition: 0.3s; vertical-align: middle; width: 180px; }
a#footeragent-access:hover { background: #fff; color: #382e2c; }

a#footeragent-reliance { display: block; margin: 20px 0 0 0; opacity: 0.5; }
a#footeragent-reliance img { display: inline-block; height: 40px; }
a#footeragent-login { background: #E6661F; color: #191919; display: inline-block; font-size: 16px; font-weight: 500; line-height: 40px; margin: 20px 0 0 0; padding: 0 20px; text-align: center; text-decoration: none; text-transform: uppercase; transition: 0.3s; }

@media screen and (min-width: 720px) {
a#footeragent-title { float: left; }
ul#footeragent-partner { float: right; }
a#footeragent-reliance { float: left; }
a#footeragent-login { float: right; }
}
@media screen and (min-width: 1440px) {
.footeragent-row { padding-left: 0; padding-right: 0; }
}

#agent-footer { background: #E6661F; }
#agent-footer a { color: #191919; }
#agent-footer a strong { color: #191919; }
