/*
 * idx-header.css
 * Theme Builder header (layout 146) styles, lifted verbatim from a working
 * real listing page (/listing/9-11-ellwood-street-4/, post 24108).
 *
 * Purpose: BWG / Rover IDX virtual pages (/ma/{town}/{address}/) have no real
 * WordPress post behind them, so Divi never generates the dynamic header CSS
 * for those URLs. The header is global and identical on every page, so we load
 * these rules statically on the IDX pages only.
 *
 * If you redesign the global header in Theme Builder, re-export this file by
 * copying the _tb_header rules from any normal page's source.
 */

.et_pb_stickydiv.et_pb_section.et_pb_section_0_tb_header{background-image:initial!important}
.et_pb_section_0_tb_header.et_pb_section{padding-top:0px;padding-bottom:0px;background-color:#0C3D6C!important}
div.et_pb_section.et_pb_section_0_tb_header{transition:background-color 300ms ease 0ms,background-image 300ms ease 0ms}
.et_pb_sticky.et_pb_section_0_tb_header.et_pb_section{background-color:rgba(12,61,108,0.9)!important}
.et_pb_row_0_tb_header.et_pb_row{padding-top:10px!important;padding-bottom:0px!important;padding-top:10px;padding-bottom:0px}
.et_pb_row_0_tb_header{position:static!important;top:0px;right:auto;bottom:auto;left:0px}
.et_pb_text_0_tb_header{font-family:'Montserrat',Helvetica,Arial,Lucida,sans-serif;font-weight:500}
.et_pb_text_0_tb_header.et_pb_text a,.et_pb_text_1_tb_header.et_pb_text,.et_pb_text_2_tb_header.et_pb_text{color:#FFFFFF!important}
.et_pb_text_0_tb_header a{font-size:16px}
ul.et_pb_social_media_follow_0_tb_header{background-color:RGBA(255,255,255,0)}
.et_pb_row_1_tb_header.et_pb_row{padding-top:10px!important;padding-bottom:12px!important;padding-top:10px;padding-bottom:12px}
.et_pb_row_1_tb_header{position:static!important;top:0px;right:auto;bottom:auto;left:0px;align-items:center}
.et_pb_column_2_tb_header,.et_pb_column_3_tb_header,.et_pb_column_4_tb_header{margin-bottom:0}
.et_pb_text_1_tb_header{font-family:'Montserrat',Helvetica,Arial,Lucida,sans-serif;font-weight:500;text-transform:uppercase;margin-bottom:0px!important}
.et_pb_text_1_tb_header.et_pb_text a,.et_pb_text_2_tb_header.et_pb_text a{color:#FFFFFF!important;transition:color 300ms ease 0ms}
.et_pb_text_1_tb_header.et_pb_text a:hover,.et_pb_text_2_tb_header.et_pb_text a:hover{color:rgba(255,255,255,0.7)!important}
.et_pb_image_0_tb_header{margin-top:-40px!important;max-width:160px;text-align:center}
.et_pb_text_2_tb_header{font-family:'Montserrat',Helvetica,Arial,Lucida,sans-serif;font-weight:500;text-transform:uppercase;margin-right:20px!important;margin-bottom:0px!important}
.et_pb_icon_0_tb_header .et_pb_icon_wrap .et-pb-icon{transition:color 300ms ease 0ms;font-family:ETmodules!important;font-weight:400!important;color:#FFFFFF;font-size:36px}
.et_pb_icon_0_tb_header{text-align:right;margin-right:0}
.et_pb_icon_0_tb_header .et_pb_icon_wrap .et-pb-icon:hover{color:rgba(255,255,255,0.7)}
.et_pb_social_media_follow_network_0_tb_header a.icon,.et_pb_social_media_follow_network_1_tb_header a.icon,.et_pb_social_media_follow_network_2_tb_header a.icon,.et_pb_social_media_follow_network_3_tb_header a.icon{background-color:RGBA(255,255,255,0)!important}

@media only screen and (max-width:980px){
  .et_pb_section_0_tb_header.et_pb_section{padding-top:0px;padding-bottom:0px}
  .et_pb_row_1_tb_header.et_pb_row{padding-top:30px!important;padding-bottom:30px!important}
  .et_pb_image_0_tb_header{margin-top:0px!important;text-align:left;margin-left:0}
  .et_pb_image_0_tb_header .et_pb_image_wrap img{width:auto}
  .et_pb_icon_0_tb_header{margin-right:0px!important;margin-left:auto;margin-right:auto}
}
@media only screen and (min-width:768px) and (max-width:980px){
  .et_pb_row_0_tb_header,.et_pb_column_2_tb_header,.et_pb_text_1_tb_header,.et_pb_text_2_tb_header{display:none!important}
}
@media only screen and (max-width:767px){
  .et_pb_section_0_tb_header.et_pb_section{padding-top:0px;padding-bottom:0px}
  .et_pb_row_0_tb_header,
  body #page-container .et-db #et-boc .et-l .et_pb_row_0_tb_header.et_pb_row,
  .et_pb_row_1_tb_header,
  body #page-container .et-db #et-boc .et-l .et_pb_row_1_tb_header.et_pb_row{width:90%}
  .et_pb_row_0_tb_header,.et_pb_column_2_tb_header,.et_pb_text_1_tb_header,.et_pb_text_2_tb_header{display:none!important}
  .et_pb_image_0_tb_header{margin-top:0px!important}
  .et_pb_image_0_tb_header .et_pb_image_wrap img{width:auto}
  .et_pb_icon_0_tb_header{margin-right:0px!important;margin-left:auto;margin-right:auto}
}

/* Header custom CSS: the "Exclusive Listings" dynamic nav */
.dynamic-listings-nav{padding:0!important;margin:0!important;list-style:none!important;line-height:inherit!important}
.dynamic-listings-nav li{display:block!important;padding:0!important;line-height:inherit!important;font-size:14px!important}
.dynamic-listings-nav li a{color:#ffffff!important;font-size:14px!important;padding-bottom:8px!important;display:block!important;text-decoration:none!important}
.dynamic-listings-nav li.menu_header a{color:#fad433!important;font-size:16px;text-transform:uppercase;font-weight:600}