/*
	Theme Name:	XTRA Child
	Theme URI:	https://xtratheme.com/
	Description:Multipurpose Theme
	Author:		Codevz
	Author URI:	https://codevz.com/
	Template:	xtra
	Version:	1.0
*/

/*
	PLEASE DO NOT edit this file, if you want add custom CSS go to Theme Options > Additional CSS
*/

/* Restore Codevz Plus visuals dropped by the plugin update (homepage only) */
.page-id-744 .cz_grid_item { position: relative; float: left; }
.page-id-744 .cz_grid_item > div { position: relative; }
.page-id-744 .cz_grid_c6 .cz_grid_item { width: calc(100% / 6); }
.page-id-744 .cz_metro_9 .cz_grid_item:nth-child(4n+2) { width: calc(100% / 6 * 3); }
.page-id-744 .cz_grid_link { display: block; position: relative; overflow: hidden; }
.page-id-744 .cz_grid_item img { width: 100%; }

.page-id-744 .cz_box_backed { position: relative; transform-style: preserve-3d; perspective: 1000px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.page-id-744 .cz_box_backed .cz_box_back { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 0; background-size: cover; transform: rotateY(180deg); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.page-id-744 .cz_box_backed:hover .cz_box_back { transform: rotateY(0deg); }
.page-id-744 .cz_box_backed:hover .cz_box_front { transform: rotateY(-180deg); }
.page-id-744 .cz_box_backed .cz_box_back_inner { -webkit-backface-visibility: hidden; backface-visibility: hidden; }

.page-id-744 .cz_btn_txt_no_fx span { opacity: 1; }
.page-id-744 .cz_btn_txt_no_fx b { opacity: 0; }


@media screen and (max-width: 768px) {
	.page-id-744 .cz_grid_item { width: 50% !important; }
}
@media screen and (max-width: 480px) {
	.page-id-744 .cz_grid_item { position: static !important; width: 100% !important; float: none !important; height: auto !important; margin: 0 !important; }
	.page-id-744 .cz_grid_item > div { margin: 0 0 10px !important; }
}


/* 2019 service boxes: equal-height rows, centred serif titles, hexagon icons */
.page-id-744 .offer-row { display: flex; flex-wrap: wrap; }
.page-id-744 .offer-row > .wpb_column { display: flex; }
.page-id-744 .offer-row .vc_column-inner,
.page-id-744 .offer-row .wpb_wrapper,
.page-id-744 .offer-row .cz_eqh { display: flex; width: 100%; }
.page-id-744 .offer-row .cz_content_box { width: 100%; }

.page-id-744 .services_b { text-align: center; padding: 25px 10px; }
.page-id-744 .services_b div { padding-left: 0 !important; }
.page-id-744 .services_b h3 { border-bottom: 0; margin-bottom: 0; font-family: 'Playfair Display', serif; font-size: 26px; }
.page-id-744 .services_b i { text-align: center; position: relative; top: -10px; font-size: 18px; }

.page-id-744 .services_b .cz_hexagon { position: relative; margin: 40px auto; width: 82px; height: 47.34px; text-align: center; border-left: solid 3.5px; border-right: solid 3.5px; }
.page-id-744 .cz_hexagon { position: absolute; width: 82px; height: 47.34px; margin: 23.67px 0; padding: 0; text-align: center; background: none; border: 0; border-left: solid 3.5px; border-right: solid 3.5px; }
.page-id-744 .cz_hexagon:before, .page-id-744 .cz_hexagon:after { content: ""; position: absolute; background: inherit !important; border-color: inherit !important; z-index: 1; left: 10px; width: 57px; height: 58px; transform: scaleY(.5774) rotate(-45deg); }
.page-id-744 .cz_hexagon i { position: relative; border: none; width: 100%; height: 100%; font-size: 36px; line-height: 36px; margin: 0; padding: 0; top: 5px; z-index: 9; vertical-align: middle; transform: none; }
.page-id-744 .services_b .cz_hexagon i { top: 3px; }
.page-id-744 .cz_hexagon:before { top: -31.5px; border-top: solid 4.8px; border-right: solid 4.8px; }
.page-id-744 .cz_hexagon:after { bottom: -31.5px; border-bottom: solid 4.8px; border-left: solid 4.8px; }

.page-id-744 .offer-row .cz_box_front_inner { display: flex; flex-direction: column; justify-content: center; }


/* Keep the original offer cards full-width inside their WPBakery columns. */
.page-id-744 .offer-row .vc_column-inner,
.page-id-744 .offer-row .wpb_wrapper { display: block; }
.page-id-744 .offer-row .vc_column-inner,
.page-id-744 .offer-row .vc_column-inner > .wpb_wrapper,
.page-id-744 .offer-row .wpb_text_column,
.page-id-744 .offer-row .wpb_text_column > .wpb_wrapper,
.page-id-744 .offer-row .cz_eqh,
.page-id-744 .offer-row .cz_content_box,
.page-id-744 .offer-row .cz_box_front,
.page-id-744 .offer-row .cz_box_front_inner { width: 100%; height: 100%; }
.page-id-744 .offer-row .cz_eqh { display: block; }
.page-id-744 .cz_btn_txt_no_fx b { display: none; }
.page-id-744 #cz_85423, .page-id-744 #cz_24939 { display: inline-block; float: none; }


/* Keep the original offer cards full-width inside their WPBakery columns. */
.page-id-744 .offer-row { margin-bottom: 30px; }
.page-id-744 .offer-row .vc_column-inner,
.page-id-744 .offer-row .wpb_wrapper { display: block; }
.page-id-744 .offer-row .vc_column-inner,
.page-id-744 .offer-row .vc_column-inner > .wpb_wrapper,
.page-id-744 .offer-row .wpb_text_column,
.page-id-744 .offer-row .wpb_text_column > .wpb_wrapper,
.page-id-744 .offer-row .cz_eqh,
.page-id-744 .offer-row .cz_content_box,
.page-id-744 .offer-row .cz_box_front,
.page-id-744 .offer-row .cz_box_front_inner { width: 100%; height: 100%; }
.page-id-744 .offer-row .cz_eqh { display: block; }
.page-id-744 .cz_btn_txt_no_fx b { display: none; }
.page-id-744 #cz_85423, .page-id-744 #cz_24939 { display: inline-block; float: none; }


/* Keep the original offer cards full-width inside their WPBakery columns. */
.page-id-744 .offer-row { margin-bottom: 30px; }
.page-id-744 .offer-row .vc_column-inner,
.page-id-744 .offer-row .wpb_wrapper { display: block; }
.page-id-744 .offer-row .vc_column-inner,
.page-id-744 .offer-row .vc_column-inner > .wpb_wrapper,
.page-id-744 .offer-row .wpb_text_column,
.page-id-744 .offer-row .wpb_text_column > .wpb_wrapper,
.page-id-744 .offer-row .cz_eqh,
.page-id-744 .offer-row .cz_content_box,
.page-id-744 .offer-row .cz_box_front,
.page-id-744 .offer-row .cz_box_front_inner { width: 100%; height: 100%; }
.page-id-744 .offer-row .cz_eqh { display: block; }
.page-id-744 .offer-row .cz_box_backed .cz_box_front { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.page-id-744 .offer-row .cz_box_backed .cz_box_back_inner { height: 100%; display: flex; align-items: center; justify-content: center; }
.page-id-744 .cz_btn_txt_no_fx b { display: none; }
.page-id-744 #cz_85423, .page-id-744 #cz_24939 { display: inline-block; float: none; }


/* Make each service card's existing contact link cover the complete card. */
.page-id-744 .offer-row .cz_box_backed .cz_box_front,
.page-id-744 .offer-row .cz_box_backed:hover .cz_box_front {
  transform: none;
}
.page-id-744 .offer-row .cz_box_backed .cz_box_back,
.page-id-744 .offer-row .cz_box_backed:hover .cz_box_back {
  transform: none;
  z-index: 2;
  opacity: 0;
  transition: opacity .25s ease;
}
.page-id-744 .offer-row .cz_box_backed:hover .cz_box_back,
.page-id-744 .offer-row .cz_box_backed:focus-within .cz_box_back { opacity: 1; }
.page-id-744 .offer-row .cz_box_backed .cz_box_back_inner { position: static; }
.page-id-744 .offer-row .cz_box_backed .cz_box_back_btn {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  font-size: 0;
  background: transparent;
}
.page-id-744 .offer-row .cz_box_backed:focus-within { outline: 3px solid #111; outline-offset: 3px; }
.page-id-744 #cz_85423 i, .page-id-744 #cz_24939 i { border: 0; }


/* Make each service card's existing contact link cover the complete card. */
.page-id-744 .offer-row .cz_box_backed { transform-style: flat; }
.page-id-744 .offer-row .cz_box_backed .cz_box_front,
.page-id-744 .offer-row .cz_box_backed:hover .cz_box_front {
  transform: none;
}
.page-id-744 .offer-row .cz_box_backed .cz_box_back,
.page-id-744 .offer-row .cz_box_backed:hover .cz_box_back {
  transform: none;
  z-index: 99 !important;
  opacity: 0;
  transition: opacity .25s ease;
}
.page-id-744 .offer-row .cz_box_backed:hover .cz_box_back,
.page-id-744 .offer-row .cz_box_backed:focus-within .cz_box_back { opacity: 1; }
.page-id-744 .offer-row .cz_box_backed .cz_box_back_inner { position: static; }
.page-id-744 .offer-row .cz_box_backed .cz_box_back_btn {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  font-size: 0 !important;
  background: transparent !important;
}
.page-id-744 .offer-row .cz_box_backed:focus-within { outline: 3px solid #111; outline-offset: 3px; }
.page-id-744 #cz_85423 i, .page-id-744 #cz_24939 i { border: 0; }


/* Homepage gallery: pack images vertically without the old float-layout gaps. */
.page-id-744 #cz_85201 { margin: 0; }
.page-id-744 #cz_85201 .cz_grid { column-count: 4; column-gap: 16px; }
.page-id-744 #cz_85201 .cz_grid_item,
.page-id-744 #cz_85201 .cz_metro_9 .cz_grid_item:nth-child(4n+2) {
  float: none;
  width: 100%;
  display: inline-block;
  vertical-align: top;
  break-inside: avoid;
}
.page-id-744 #cz_85201 .cz_grid_first { display: none; }
.page-id-744 #cz_85201 .cz_grid:not(.cz_justified) .cz_grid_item > div { margin: 0 0 16px; }
.page-id-744 #cz_85201 .cz_grid_item img { display: block; width: 100%; height: auto; }
@media (max-width: 768px) {
  .page-id-744 #cz_85201 .cz_grid { column-count: 2; }
}
@media (max-width: 480px) {
  .page-id-744 #cz_85201 .cz_grid { column-count: 2; column-gap: 10px; }
  .page-id-744 #cz_85201 .cz_grid:not(.cz_justified) .cz_grid_item > div { margin: 0 0 10px !important; }
}


/* Homepage gallery: pack images vertically without the old float-layout gaps. */
.page-id-744 #cz_85201 { margin: 0; }
.page-id-744 #cz_85201 .cz_grid { column-count: 4; column-gap: 16px; }
.page-id-744 #cz_85201 .cz_grid_item,
.page-id-744 #cz_85201 .cz_metro_9 .cz_grid_item:nth-child(4n+2) {
  float: none;
  width: 100%;
  display: inline-block;
  vertical-align: top;
  break-inside: avoid;
}
.page-id-744 #cz_85201 .cz_grid_first { display: none; }
.page-id-744 #cz_85201 .cz_grid:not(.cz_justified) .cz_grid_item > div { margin: 0 0 16px; }
.page-id-744 #cz_85201 .cz_grid_item p { margin: 0; }
.page-id-744 #cz_85201 .cz_grid_item p:has(> .cz_grid_link) ~ p { display: none; }
.page-id-744 #cz_85201 .cz_grid_item img { display: block; width: 100%; height: auto; }
@media (max-width: 768px) {
  .page-id-744 #cz_85201 .cz_grid { column-count: 2; }
}
@media (max-width: 480px) {
  .page-id-744 #cz_85201 .cz_grid { column-count: 2; column-gap: 10px; }
  .page-id-744 #cz_85201 .cz_grid:not(.cz_justified) .cz_grid_item > div { margin: 0 0 10px !important; }
}


/* Match the gallery button to the contact button and space the offer section. */
.page-id-744 #cz_85423 { color: #000; background: #45c58c; font-size: 14px; font-weight: 600; }
.page-id-744 #cz_85423:hover, .page-id-744 #cz_85423:focus-visible { color: #000; background: #fff; }
.page-id-744 #cz_85423 i { color: #45c58c; background: #06858c; }
.page-id-744 .offer-row:not(.offer-row + .offer-row) { margin-top: 60px; }
.page-id-744 .offer-row + .offer-row { margin-bottom: 60px; }

/* Use the same arrow as the contact button. */
.page-id-744 #cz_85423 i:before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; }


/* Align the mobile logo and controls on one compact header row. */
@media (max-width: 768px) {
  .header_4 .elms_row > .clr { min-height: 72px; }
  .header_4 .header_4_left, .header_4 .header_4_right { vertical-align: middle; }
  .header_4 .logo_header_4_left_2,
  .header_4 .menu_header_4_right_3,
  .header_4 .icon_header_4_right_4 { margin-top: 0 !important; margin-bottom: 0 !important; }
  .header_4 .logo img { width: 145px !important; height: auto; max-width: 100%; }
  .header_4 .icon_mobile_offcanvas_menu,
  .header_4 .icon_header_4_right_4 i { margin-top: 0 !important; }
}
