/* Resort guide page (resort_guide_new.html)
   Only what style.css doesn't already cover. Breakpoints match the grid: 1088 / 900 / 767 / 640 */


/* breadcrumb */
.rg_breadcrumb { padding: 2rem 0 0; font-size: 1.4rem; }
.rg_breadcrumb ol { list-style: none; margin: 0; padding: 0; display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; }
.rg_breadcrumb li { margin: 0; }
.rg_breadcrumb li + li:before { content: "\203A"; padding: 0 .8rem; color: #94bdf1; }
.rg_breadcrumb a { color: #1863a6; }
.rg_breadcrumb a:hover { text-decoration: underline; }
.rg_breadcrumb li[aria-current] { color: #414042; }


/* hero - 16:9 crop on mobile */
.rg_hero { padding-top: 1.5rem; padding-bottom: 0; }
.rg_hero_figure { margin: 0; }
.rg_hero_link { display: block; }
.rg_hero_figure img { display: block; width: 100%; height: auto; }
@media all and (max-width: 767px) {
  .rg_hero { padding-top: 1rem; }
  .rg_hero_figure { position: relative; width: 100%; overflow: hidden; }
  .rg_hero_figure:before { display: block; content: ""; width: 100%; padding-top: 56.25%; }
  .rg_hero_figure img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }
}


/* title + byline */
.rg_title { margin-bottom: 2.5rem; }
.rg_title h1 { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; margin-bottom: .8rem; }
.rg_title h1 .icon { margin-right: 1.5rem; -webkit-box-flex: 0; -ms-flex: none; flex: none; }
.rg_region { font-size: 1.8rem; font-weight: 300; margin-bottom: .6rem; }
.rg_byline { font-size: 1.4rem; margin-bottom: 0; }
.rg_byline .rg_sep { padding: 0 .6rem; color: #94bdf1; }
@media all and (max-width: 767px) {
  .rg_title h1 { font-size: 3.2rem; }
  .rg_title h1 .icon { width: 36px; }
  .rg_title h1 .icon img { max-width: 36px; }
}


/* quick answer */
.rg_quick_answer { border-left: .4rem solid #1863a6; margin-bottom: 3rem; }
.rg_quick_answer h2,
.rg_content .rg_quick_answer h2 { font-size: 2.4rem; border-bottom: 0; padding-bottom: 0; margin-bottom: 1rem; }
.rg_quick_answer p:last-child { margin-bottom: 0; }


/* mobile only: find a property button + on this page */
.rg_mob_find { margin-bottom: 2rem; }
.rg_mob_find .button { width: 100%; white-space: normal; }
.rg_mob_nav { margin-bottom: 3rem; }
.rg_mob_nav .accordion-wrapper { margin-top: 0; }
.rg_mob_nav .accordion > .accordion-label { border-top: 0; border-bottom: .1rem solid #d4e5f9; }
.rg_mob_nav .accordion > .accordion-content > .answer { margin-bottom: 1rem; }


/* content sections + h2 */
.rg_section { margin-bottom: 3.5rem; }
.rg_content h2 { color: #1863a6; font-weight: 300; font-size: 2.8rem; line-height: 1.14286; border-bottom: .1rem solid #1863a6; padding-bottom: .8rem; margin-bottom: 1.6rem; scroll-margin-top: 2rem; }
.rg_content .rg_section[id] { scroll-margin-top: 2rem; }
.rg_content ul { margin-bottom: 2rem; }
@media all and (max-width: 767px) {
  .rg_content h2 { font-size: 2.4rem; }
}

/* two images */
.rg_image_pair { margin-bottom: 2rem; }
.rg_figure { margin: 0; }
.rg_figure img { display: block; width: 100%; height: auto; }
.rg_figure figcaption { font-size: 1.3rem; line-height: 1.4; padding-top: .8rem; color: #5b5a5c; }


/* know before you go */
.rg_facts { margin-top: 0; margin-bottom: 0; }
.rg_facts > .col { -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: baseline; -ms-flex-align: baseline; align-items: baseline; padding-top: .9rem; padding-bottom: .9rem; border-bottom: .1rem dotted #94bdf1; }
.rg_facts dt { font-weight: 600; width: 45%; padding-right: 1rem; margin: 0; }
.rg_facts dd { margin: 0; width: 55%; }
@media all and (max-width: 640px) {
  .rg_facts dt { width: 50%; }
  .rg_facts dd { width: 50%; }
}


/* video */
.rg_video { padding: 2rem; }
.rg_video h2 { border-bottom-color: #d4e5f9; }
.rg_video .video-wrapper { margin-bottom: 1.5rem; }
.rg_video .video-wrapper:before { padding-top: 56.25%; }   /* 16:9 */
.rg_video_summary { margin-bottom: 0; }


/* faqs */
.rg_faqs .accordion-wrapper { margin-top: 0; }
.rg_faqs .accordion:first-child > .accordion-label { border-top: 0; }
.rg_faqs .accordion > .accordion-label { -webkit-box-align: center; -ms-flex-align: center; align-items: center; padding: 1.4rem 0; }
.rg_faqs .accordion > .accordion-label > .toggle-sign { -webkit-box-flex: 0; -ms-flex: none; flex: none; margin-left: 1.5rem; }
.rg_faqs .accordion:last-child > .accordion-label { border-bottom: .1rem solid #d4e5f9; }
.rg_faqs .accordion > .accordion-content > .answer { margin-bottom: 2rem; }
.rg_faqs .accordion > .accordion-content > .answer p:last-child { margin-bottom: 0; }
.rg_faqs .question { font-weight: 400; }


/* buyer's guide cta */
.rg_guide_cta { padding: 4rem 2rem; margin-top: 3rem; }
.rg_content .rg_guide_cta h3 { color: #1863a6; font-weight: 300; font-size: 2.8rem; margin: 0 0 1rem; }
.rg_guide_cta p:last-child { margin-bottom: 0; }
.rg_guide_cta .button { white-space: normal; }


/* podcasts */
.rg_podcast { height: 100%; }
.rg_podcast_image { margin: 0 0 1.2rem; }
.rg_podcast_image .image-wrap { background-size: cover; background-position: center; }
.rg_podcast_player { background-color: #f4f8fe; margin-bottom: 1.2rem; }
.rg_podcast_player iframe { display: block; width: 100%; height: 110px; border: 0; }
.rg_podcast h3 { margin-bottom: .8rem; }
.rg_podcast p { font-size: 1.5rem; }
.rg_podcast p:last-child { margin-bottom: 0; }
.rg_podcast_link { color: #1863a6; text-decoration: underline; }
.rg_podcast_link:hover { text-decoration: none; }


/* talk to us */
.rg_talk { text-align: center; }
.rg_talk h3 { margin-bottom: 1rem; }
.rg_talk p { margin-bottom: 1.2rem; }
.rg_phone { font-size: 2.2rem; font-weight: 600; }
.rg_phone a { color: #ffffff; }
.rg_talk .button { width: 100%; white-space: normal; }
.rg_mob_talk { margin-bottom: 1rem; }


/* on this page */
.rg_pagenav h2 { margin-bottom: 1.2rem; }
.rg_pagenav_list,
.rg_content .rg_pagenav_list { list-style: none; margin: 0; padding: 0; }
.rg_pagenav_list li,
.pro_details .rg_pagenav_list li { padding: 0; margin: 0; }
.pro_details .rg_pagenav_list li:before { display: none; }     /* no .pro_details bullets */
.rg_pagenav_list a { display: block; padding: .7rem 0; border-top: .1rem solid #d4e5f9; font-size: 1.5rem; color: #414042; }
.rg_pagenav_list li:first-child a { border-top: 0; }
.rg_pagenav_list a:hover,
.rg_pagenav_list a.is-active { color: #1863a6; }


/* find a property */
.rg_find_image { min-height: 18rem; background-size: cover; background-position: center; }
.rg_find_body h2 { margin-bottom: .6rem; }
.rg_find_body p:last-child { margin-bottom: 0; }
.rg_find_body .button { white-space: normal; }


/* aside - stick_in_parent only runs above 900px */
.rg_aside { width: 100%; }
@media all and (max-width: 900px) {
  .rg_aside { position: static !important; }
}


/* property for sale */
.rg_properties h2 { margin-bottom: 0; }
.rg_properties .card { height: 100%; }
.rg_properties .card .box p:last-child { margin-bottom: 0; }


/* nearby resorts */
.rg_nearby { padding-top: 1rem; }
.rg_nearby h2 { margin-bottom: 2rem; }
.rg_nearby_list { list-style: none; padding: 0; }
.rg_nearby_card { display: block; height: 100%; text-decoration: none !important; border: .1rem solid #d4e5f9; background-color: #f4f8fe; -webkit-transition: all .3s 0s ease-in-out; -o-transition: all .3s 0s ease-in-out; transition: all .3s 0s ease-in-out; }
.rg_nearby_card .figure { margin: 0; }
.rg_nearby_card .image-wrap { background-size: cover; background-position: center; -webkit-transition: -webkit-transform .5s ease-in-out; transition: transform .5s ease-in-out; }
.rg_nearby_card:hover .image-wrap { -webkit-transform: scale(1.075); -ms-transform: scale(1.075); transform: scale(1.075); }
.rg_nearby_name { display: block; text-align: center; color: #1863a6; font-size: 1.8rem; font-weight: 300; padding: 1.5rem 2rem; }
.rg_nearby_card:hover { border-color: #1863a6; text-decoration: none; }
.rg_nearby_card:hover .rg_nearby_name { text-decoration: none; }
.rg_nearby_card:hover .rg_nearby_name { color: #ffffff; background-color: #1863a6; }


/* v2 banner (resort_guide_new_v2.html) - same as about-us. .banner has min-height 35rem and .banner-bg fills behind the img */
.rg_banner img { width: 100%; height: auto; display: block; }
.rg_breadcrumb_wrap .rg_breadcrumb { padding: 2.5rem 0 3rem; }
.rg_title_v2 .rg_region { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; font-size: 2.2rem; margin-bottom: 1rem; }
.rg_title_v2 .rg_region .icon { margin-right: 1.2rem; -webkit-box-flex: 0; -ms-flex: none; flex: none; }


/* v3 (resort_guide_new_v3.html) - feedback changes, 5 Nov */
.rg_banner_shade:before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 16rem; z-index: 1; pointer-events: none; background: -webkit-linear-gradient(top, rgba(11, 24, 56, 0.75) 0%, rgba(11, 24, 56, 0.35) 55%, rgba(11, 24, 56, 0) 100%); background: linear-gradient(to bottom, rgba(11, 24, 56, 0.75) 0%, rgba(11, 24, 56, 0.35) 55%, rgba(11, 24, 56, 0) 100%); }
.rg_banner_shade img { position: relative; z-index: 0; }
/* banner height follows the image; on small screens the image is too short under the header, so use the cover background instead */
.rg_banner { min-height: 0; }
@media (max-width: 767px) {
  .rg_banner { min-height: 30rem; }
  .rg_banner img { display: none; }
  .rg_banner_shade:before { height: 100%; background: -webkit-linear-gradient(top, rgba(11, 24, 56, 0.75) 0%, rgba(11, 24, 56, 0.25) 50%, rgba(11, 24, 56, 0) 100%); background: linear-gradient(to bottom, rgba(11, 24, 56, 0.75) 0%, rgba(11, 24, 56, 0.25) 50%, rgba(11, 24, 56, 0) 100%); }
}
@media all and (min-width: 901px) {
  .rg_main_grid > .col:first-child { padding-right: 5rem; }   /* wider gap between content and sidebar */
}
.rg_content .rg_section { margin-bottom: 5.5rem; }
.rg_content h3 { color: #414042; font-size: 2rem; font-weight: 600; margin: 2.4rem 0 1rem; }
.rg_content .rg_section > h2 + h3 { margin-top: 0; }
.rg_figure_wide { margin: 2.5rem 0; }
.rg_video_item + .rg_video_item { margin-top: 3rem; }
.rg_video_item h3 { margin: 1.4rem 0 .6rem; }
.rg_video_item p:last-child { margin-bottom: 0; }
.rg_video_thumb { display: block; position: relative; }
.rg_video_thumb .video-wrapper { margin-bottom: 0; overflow: hidden; }
.rg_video_thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; -webkit-transition: -webkit-transform .5s ease-in-out; transition: transform .5s ease-in-out; }
.rg_video_thumb:hover img { -webkit-transform: scale(1.04); -ms-transform: scale(1.04); transform: scale(1.04); }
.rg_play { position: absolute; left: 50%; top: 50%; width: 7rem; height: 7rem; margin: -3.5rem 0 0 -3.5rem; border-radius: 100%; background-color: rgba(24, 99, 166, 0.9); color: #ffffff; font-size: 2.4rem; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-transition: background-color .3s; -o-transition: background-color .3s; transition: background-color .3s; }
.rg_play:before { content: ""; display: block; width: 0; height: 0; margin-left: .6rem; border-style: solid; border-width: 1.2rem 0 1.2rem 2rem; border-color: transparent transparent transparent #ffffff; }
.rg_video_thumb:hover .rg_play { background-color: #1863a6; }
.rg_buttons { margin-top: 2rem; }
.rg_buttons .button { margin: 0 1rem 1rem 0; }
.rg_more { margin: 2.5rem 0 0; text-align: center; }
.rg_mob_find .button { width: 100%; white-space: normal; }
.rg_podcasts > p { margin-bottom: 2rem; }


/* print */
@media print {
  .rg_breadcrumb, .rg_mob_find, .rg_mob_nav, .rg_mob_talk, .rg_aside, .rg_podcast_player, .rg_video .video-wrapper, .rg_buttons, .rg_more { display: none !important; }
  .rg_faqs .accordion > .accordion-content { max-height: none; opacity: 1; }
}
