/*
 * PAGES area (about us, business hub, contact, careers, job posts, offices, global presence + the rows of the home).
 * The old pages were WPBakery rows: the plugin's CSS is not part of the old theme, so the few rules those pages rely on are rebuilt here
 * (row / column grid, text, single image, separator, buttons, post grid cards). Everything is scoped to the wrappers our widgets output
 * (.alc-pg-row = the old ".entry-content.row", .alc-pg-band = full width band), so nothing leaks into other work areas.
 */

/* ---- containers --------------------------------------------------------------------------------------------------------------------------- */
.alc-pg-row,
.alc-pg-band { box-sizing: border-box; }
/* the old content column is 1130 px at desktop (1170 .row minus 20 px each side; the -15/+15 of row and column cancel) */
.alc-pg-row { padding-left: 20px; padding-right: 20px; }
/* theme style.css (Underscores): .entry-content { margin: 1.5em 0 0 } */
.alc-pg-row.entry-content { margin-top: 1.5em; }
.alc-pg-row .vc_row,
.alc-pg-band .vc_row { margin-left: -15px; margin-right: -15px; }
.alc-pg-band .vc_row.alc-fullbleed { margin-left: auto; margin-right: auto; max-width: 1600px; }
.alc-pg-row .vc_row::before, .alc-pg-row .vc_row::after,
.alc-pg-band .vc_row::before, .alc-pg-band .vc_row::after,
.alc-pg-row .vc_column-inner::before, .alc-pg-row .vc_column-inner::after { content: " "; display: table; }
.alc-pg-row .vc_row::after, .alc-pg-band .vc_row::after, .alc-pg-row .vc_column-inner::after { clear: both; }
.alc-pg-row .vc_column_container,
.alc-pg-band .vc_column_container { position: relative; min-height: 1px; box-sizing: border-box; width: 100%; padding-left: 0; padding-right: 0; }
.alc-pg-row .vc_column-inner,
.alc-pg-band .vc_column-inner { box-sizing: border-box; width: 100%; padding-left: 15px; padding-right: 15px; }
@media (min-width: 768px) {
	.alc-pg-row .vc_column_container, .alc-pg-band .vc_column_container { float: left; }
	.alc-pg-row .vc_col-sm-12, .alc-pg-band .vc_col-sm-12 { width: 100%; }
	.alc-pg-row .vc_col-sm-8, .alc-pg-band .vc_col-sm-8 { width: 66.66666667%; }
	.alc-pg-row .vc_col-sm-6, .alc-pg-band .vc_col-sm-6 { width: 50%; }
	.alc-pg-row .vc_col-sm-4, .alc-pg-band .vc_col-sm-4 { width: 33.33333333%; }
	.alc-pg-row .vc_col-sm-3, .alc-pg-band .vc_col-sm-3 { width: 25%; }
	.alc-pg-row .vc_col-sm-2, .alc-pg-band .vc_col-sm-2 { width: 16.66666667%; }
	/* equal height rows (careers "Wizards Wanted") */
	.alc-pg-row .vc_row-flex { display: flex; flex-wrap: wrap; }
	.alc-pg-row .vc_row-flex::before, .alc-pg-row .vc_row-flex::after { display: none; }
	.alc-pg-row .vc_row-flex > .vc_column_container { display: flex; float: none; }
	.alc-pg-row .vc_row-o-equal-height > .vc_column_container { align-items: stretch; }
}
.alc-pg-row .wpb_row, .alc-pg-band .wpb_row { margin-bottom: 35px; }
.alc-pg-row .vc_row.vc_inner { margin-bottom: 0; }
.alc-pg-row .wpb_content_element, .alc-pg-band .wpb_content_element { margin-bottom: 35px; }
.alc-pg-row .vc_row-has-fill > .vc_column_container > .vc_column-inner { padding-top: 35px; }
.alc-pg-row .vc_row.vc_row-has-fill { padding-bottom: 0; }
.alc-pg-row .vc_col-has-fill > .vc_column-inner { padding-top: 35px; }
@media (max-width: 767px) {
	.alc-pg-row .vc_row, .alc-pg-band .vc_row { position: relative; }
	/* an empty photo column (careers) must still show its photo when the columns stack */
	.alc-pg-row .vc_col-has-fill > .vc_column-inner:empty,
	.alc-pg-row .vc_col-has-fill > .vc_column-inner > .wpb_wrapper:empty { min-height: 0; }
	.alc-pg-row .vc_col-has-fill > .vc_column-inner { min-height: 220px; }
}
/* the old Additional CSS: rows after the hero need room on phones (the hero is shifted down by the header there) */
@media only screen and (max-width: 639px) {
	.alc-pg-row.entry-content { margin-top: 50px !important; }
}

/* ---- text, headings, images ---------------------------------------------------------------------------------------------------------------- */
.alc-pg-row .vc_custom_heading { margin-bottom: 0.5rem; }
.alc-pg-row .vc_custom_heading a { color: #ab0e1e; }
.alc-pg-row .wpb_text_column p:last-child { margin-bottom: 0; }
.alc-pg-row .wpb_single_image .vc_figure { margin: 0; display: block; }
.alc-pg-row .wpb_single_image.vc_align_center { text-align: center; }
.alc-pg-row .wpb_single_image.vc_align_left { text-align: left; }
.alc-pg-row .vc_single_image-wrapper { display: inline-block; vertical-align: top; max-width: 100%; }
.alc-pg-row .vc_single_image-img { display: inline-block; vertical-align: top; max-width: 100%; height: auto; }
.alc-pg-row .vc_box_circle { border-radius: 50%; overflow: hidden; }
.alc-pg-row .vc_box_circle .vc_single_image-img { border-radius: 50%; object-fit: cover; aspect-ratio: 1 / 1; }
.alc-pg-row .wpb_wrapper h4 { margin-bottom: 0.5rem; }
.alc-pg-row .alc-video video { display: block; max-width: 100%; height: auto; background: #000; }
.alc-pg-row .wp-video { max-width: 100%; width: auto !important; }

/* separator line */
.vc_separator { display: table; width: 100%; height: 1px; margin-bottom: 35px; }
.vc_separator .vc_sep_holder { display: table-cell; width: 50%; height: 1px; position: relative; vertical-align: middle; }
.vc_separator .vc_sep_line { display: block; position: relative; width: 100%; height: 1px; border-top: 1px solid #ebebeb; top: 1px; }
.vc_separator.vc_sep_color_grey .vc_sep_line { border-color: #ebebeb; }

/* ---- VC buttons (outline style, the only one the old pages use) ------------------------------------------------------------------------------ */
.vc_btn3-container { display: block; margin-bottom: 22px; max-width: 100%; }
.vc_btn3-container.vc_btn3-inline { display: inline-block; vertical-align: top; }
.vc_btn3-container.vc_btn3-center { text-align: center; }
.vc_btn3-container.vc_btn3-left { text-align: left; }
.main-content a.vc_btn3, .vc_btn3.vc_general { text-decoration: none; }
.vc_btn3 { display: inline-block; margin-bottom: 0; text-align: center; vertical-align: middle; cursor: pointer; white-space: nowrap; text-decoration: none; font-weight: 400;
	border: 2px solid transparent; background: transparent; box-sizing: border-box; transition: color .15s ease, background-color .15s ease, border-color .15s ease; max-width: 100%; }
.vc_btn3.vc_btn3-shape-rounded { border-radius: 4px; }
.vc_btn3.vc_btn3-size-sm { padding: 10px 17px; font-size: 12px; line-height: 1.2; }
.vc_btn3.vc_btn3-size-md { padding: 14px 20px; font-size: 14px; line-height: 1.2; }
.vc_btn3.vc_btn3-size-lg { padding: 12px 20px; font-size: 16px; line-height: 1.2; }
.vc_btn3.vc_btn3-style-outline.vc_btn3-color-black { color: #0a0a0a; border-color: #0a0a0a; background: transparent; }
.vc_btn3.vc_btn3-style-outline.vc_btn3-color-black:hover,
.vc_btn3.vc_btn3-style-outline.vc_btn3-color-black:focus { color: #fff; background-color: #0a0a0a; }
.vc_btn3.vc_btn3-style-outline.vc_btn3-color-white { color: #fff; border-color: #fff; background: transparent; }
.vc_btn3.vc_btn3-style-outline.vc_btn3-color-white:hover,
.vc_btn3.vc_btn3-style-outline.vc_btn3-color-white:focus { color: #243444; background-color: #fff; }
.vc_btn3:focus-visible { outline: 2px solid #243444; outline-offset: 2px; }
.callout .vc_btn3:focus-visible, .home-slider-row .vc_btn3:focus-visible { outline-color: #fff; }

/* ---- post grid cards (home news, careers job list) -------------------------------------------------------------------------------------------- */
.alc-pg-row .vc_grid-container-wrapper { margin-bottom: 35px; }
.alc-pg-row .vc_grid.vc_row { margin-left: -12.5px; margin-right: -12.5px; }
.alc-pg-row .vc_pageable-slide-wrapper { display: flex; flex-wrap: wrap; align-items: flex-start; }
.alc-pg-row .vc_pageable-slide-wrapper::before, .alc-pg-row .vc_pageable-slide-wrapper::after { display: none; }
.alc-pg-row .vc_grid-item { float: none; box-sizing: border-box; width: 100%; padding-left: 12.5px; padding-right: 12.5px; margin-bottom: 25px; }
@media (min-width: 768px) {
	.alc-pg-row .vc_grid-item.vc_col-sm-3 { width: 50%; }
}
@media (min-width: 1024px) {
	.alc-pg-row .vc_grid-item.vc_col-sm-3 { width: 25%; }
}
@media (max-width: 767px) {
	.alc-pg-row .vc_grid-item { margin-bottom: 50px; }
}
.alc-pg-row .vc_gitem-zone-a { position: relative; background-color: rgba(255, 255, 255, 0.67); }
.alc-pg-row .vc_gitem-zone-a .vc_gitem-zone-img { display: block; width: 100%; height: auto; }
.alc-pg-row .vc_gitem-zone-a .vc-zone-link { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 2; display: block; }
.alc-pg-row .vc_gitem-zone-c { padding-top: 9px; }
.alc-pg-row .vc_gitem-zone-c .vc_gitem-zone-mini { padding: 0; }
.alc-pg-row .vc_gitem_row.vc_row { margin-left: 0; margin-right: 0; }
.alc-pg-row .vc_gitem-col { box-sizing: border-box; width: 100%; float: left; padding: 0 10px; }
.alc-pg-row .vc_gitem_row::after { content: ''; display: table; clear: both; }
.alc-pg-row .vc_gitem-post-data { margin-bottom: 0.5rem; }
.alc-pg-row .vc_gitem-post-data p { margin-bottom: 0.5rem; }
.alc-pg-row .vc_gitem-post-data-source-post_date p { margin-bottom: 0.5rem; }
.alc-pg-row .vc_gitem-post-data-source-post_title h4 { margin: 0 0 0.5rem; }
.alc-pg-row .vc_gitem-post-data-source-post_title a { color: #ab0e1e; }
.alc-pg-row .vc_gitem-post-data-source-post_title a:hover { color: #243444; }
.alc-pg-row .vc_gitem-zone-c .vc_separator { margin: 0 0 12px; }
.alc-pg-row .vc_gitem-zone-c .vc_btn3-container { margin-bottom: 0; }
.alc-pg-row .vc_gitem-zone-c .vc_btn3-left { margin-top: 12px; }

/* ---- contact ------------------------------------------------------------------------------------------------------------------------------- */
.alc-pg-row .wpb_gmaps_widget { margin-bottom: 20px; }
.alc-pg-row .wpb_map_wraper { position: relative; }
.alc-pg-row .vc_map_responsive .wpb_map_wraper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.alc-pg-row .vc_map_responsive .wpb_map_wraper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.alc-pg-row .uavc-icons { margin-bottom: 35px; }
.alc-pg-row .uavc-icons a { display: inline-block; text-decoration: none; margin-right: 5px; }
.alc-pg-row .uavc-icons .aio-icon { display: inline-block; font-size: 32px; line-height: 1; color: #ab0e1e; }
.alc-pg-row .uavc-icons a:hover .aio-icon { color: #243444; }
/* FontAwesome 6.5.1 Brands: only brands.css (the @font-face) is loaded, so the three glyphs are mapped here */
.alc-pg-row .uavc-icons i { display: inline-block; font-family: "Font Awesome 6 Brands"; font-weight: 400; font-style: normal; font-size: 32px; line-height: 1; }
.alc-pg-row .uavc-icons i.fa-square-facebook::before { content: "\f082"; }
.alc-pg-row .uavc-icons i.fa-square-x-twitter::before { content: "\e61a"; }
.alc-pg-row .uavc-icons i.fa-linkedin::before { content: "\f08c"; }
.alc-pg-row .uavc-icons a { min-width: 44px; min-height: 44px; }

/* ---- global presence list (old .services-list.reach is in app.css) ---------------------------------------------------------------------------- */
.services-list.reach .image img { max-width: 100%; height: auto; }

/* ---- job post (single-job template): job text + grey application band with the Elementor Pro Form ---------------------------------------------- */
.alc-job-body h3 { color: #ab0e1e; text-align: left; margin-bottom: 0.5rem; }
.alc-job-body .wpb_wrapper > .wpb_wrapper > p:empty { display: none; }
.alc-job-body ul { margin-left: 1.25rem; }
.alc-job-form { background-color: #ededed; padding: 35px 0 20px; margin-bottom: 35px; width: 100%; box-sizing: border-box; }
.alc-job-form > .elementor-element { box-sizing: border-box; width: 100% !important; max-width: 1170px !important; margin-left: auto !important; margin-right: auto !important; padding: 0 20px !important; }
.alc-job-form > .elementor-element > .elementor-widget-container { max-width: 565px; }
.alc-job-form .elementor-heading-title { font: 400 1.6875rem / 2.0625rem Roboto, Arial, sans-serif !important; color: #243444 !important; margin: 0 0 16px; }
.alc-job-form .alc-job-intro p { margin-bottom: 1rem; }
.alc-job-form .elementor-field-label { color: #0a0a0a !important; font: 400 0.9375rem / 1.5 Roboto, Arial, sans-serif !important; }
.alc-job-form .elementor-field-textual { background: #fff !important; border: 1px solid #cacaca !important; border-radius: 0 !important; min-height: 40px; font: 400 1rem Roboto, Arial, sans-serif !important; color: #0a0a0a !important; padding: 8px 10px !important; }
.alc-job-form .elementor-field-type-upload input { background: transparent !important; border: 0 !important; padding: 8px 0 !important; }
.alc-job-form .elementor-field-group { margin-bottom: 14px; }
.alc-job-form .elementor-form { max-width: 565px; }
.alc-job-form .elementor-button { background-color: #ab0e1e !important; color: #fff !important; border: 2px solid #ab0e1e !important; border-radius: 4px !important; padding: 12px 28px !important; font: 400 1rem Roboto, Arial, sans-serif !important; min-height: 44px; }
.alc-job-form .elementor-button:hover, .alc-job-form .elementor-button:focus { background-color: #fff !important; color: #ab0e1e !important; }
.alc-job-form .elementor-field-type-submit { width: auto; }
.alc-job-form .privacy-note { font-size: 0.8125rem; color: #243444; margin-top: 20px; }
.alc-job-form .privacy-note p { font-size: 0.8125rem; line-height: 1.4; margin-bottom: 0.6rem; }
.alc-job-form .elementor-message { font: 400 1rem Roboto, Arial, sans-serif; margin-top: 10px; }
.alc-job-form .elementor-message-success { color: #1a6d2f; }
.alc-job-form .elementor-message-danger { color: #ab0e1e; }

/* ---- tablet: the five value columns would break words at 820 px ---- */
@media (min-width: 768px) and (max-width: 1023px) {
	.alc-pg-row .five-columns.vc_row { display: flex; flex-wrap: wrap; justify-content: center; }
	.alc-pg-row .five-columns.vc_row::before, .alc-pg-row .five-columns.vc_row::after { display: none; }
	.alc-pg-row .five-columns.vc_row .vc_col-sm-2 { float: none; width: 31%; margin: 0 1% 20px; }
	.alc-pg-row .five-columns.vc_row .vc_col-sm-2:nth-last-child(2) { margin-right: 1%; }
}

/* ---- Offices page (Andersen's own markup): on phones the legend rows were floated children of a 25 px high box and overlapped each other ---- */
@media (max-width: 639px) {
	.alc-offices #maplegend .legend { display: flow-root; margin-bottom: 12px; }
}
