/*
Theme Name: Nexia Panamá
Theme URI: https://api.modulestudio.co.uk
Details URI: https://api.modulepreview.co.uk/?action=get_metadata&slug=cla
Author: Customization - 4toestudio
Author URI: https://4toestudio.com
Description: Nexia FSI Theme
Requires at least: 6.1
Tested up to: 6.22
Requires PHP: 5.6
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: Nexia
*/

/* ==== webFonts ===== */

@font-face {
    font-family: 'effra_trialbold';
    src: url('fonts/effra_trial_bd-webfont.woff2') format('woff2'),
         url('fonts/effra_trial_bd-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'effra_triallight';
    src: url('fonts/effra_trial_lt-webfont.woff2') format('woff2'),
         url('fonts/effra_trial_lt-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'effra_trialregular';
    src: url('fonts/effra_trial_rg-webfont.woff2') format('woff2'),
         url('fonts/effra_trial_rg-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}


/* Change the WordPress default css to a 1023px media query */
@media (min-width: 1023px) {
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: none !important;
  }
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: block !important;
    width: 100%;
    position: relative;
    z-index: auto;
    background-color: inherit;
  }
}
/* Remove the WordPress default for 600px */
@media (min-width: 600px) {
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: flex;
  }
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: none;
  }
}
@media (max-width: 1023px) {
  .wp-block-site-logo a img {
    width: 235px;
  }
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  margin-block-start: 0px !important;
}

body { font-family: 'effra_triallight', sans-serif;}

p {
    font-size: 18px;
    margin-bottom: 20px;
}
@media only screen and (max-width: 780px) {
  p {
    font-size: 18px !important;
  }
}
h1, h2, h3, h4, h5, h6, strong, .wp-block-buttons {
    margin-bottom: 24px;
    font-family: 'effra_trialbold', sans-serif;
    line-height: 1em;
}
.bolder {
  font-weight: 600;
}
.current-menu-item a {
  border-bottom: 4px solid rgba(125, 210, 211, 0);
  -webkit-transition: border-color 0.25s ease-in-out;
  transition: border-color 0.25s ease-in-out;
  border-color: #00B9B9;
}
nav li a {
  border-bottom: 4px solid rgba(125, 210, 211, 0);
  -webkit-transition: border-color 0.25s ease-in-out;
  transition: border-color 0.25s ease-in-out;
}
nav li a:hover {
  border-color: #00B9B9;
}
header .header-wrap {
  border-bottom: none !Important;
}
@media (max-width: 1350px) {
  header .header-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
}
header .header-wrap .wp-block-group {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
  align-items: flex-end !important;
}
footer .wp-block-columns, footer .wp-block-site-logo {
  padding-top: 50px;
  padding-bottom: 50px;
}
@media (max-width: 1350px) {
  footer .wp-block-columns, footer .wp-block-site-logo {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media only screen and (max-width: 1100px) {
  footer .wp-block-columns, footer .wp-block-site-logo {
    padding-top: 25px;
    padding-bottom: 25px;
  }
}
footer .wp-block-columns:first-of-type, footer .wp-block-site-logo:first-of-type {
  padding-top: 0px;
}
footer .wp-block-columns:last-of-type, footer .wp-block-site-logo:last-of-type {
  padding-bottom: 0px;
}
footer .bottom-footer {
  justify-content: space-between;
}
@media only screen and (max-width: 1100px) {
  footer .bottom-footer {
    flex-direction: column;
    gap: 50px;
  }
}
footer .bottom-footer .page-list {
  display: flex;
  gap: 20px;
}
@media only screen and (max-width: 1100px) {
  footer .bottom-footer .page-list {
    flex-direction: column;
    gap: 10px;
  }
}
footer .bottom-footer .page-list p {
  margin: 0 !important;
}
footer .bottom-footer .col2 {
  align-items: flex-end;
  display: flex;
  justify-content: flex-end;
}
@media only screen and (max-width: 1100px) {
  footer .bottom-footer .col2 {
    justify-content: flex-start;
    align-items: flex-start;
  }
}
footer .bottom-footer .col2 .social-icons {
  display: flex;
  gap: 20px;
}
footer .bottom-footer .col2 .social-icons figure {
  margin: 0 !important;
}
.wp-block-navigation__responsive-container {
  background-color: #00323C !important;
  color: #ffffff !important;
}
.wp-block-buttons .wp-block-button a {
  padding-left: 40px;
  padding-right: 40px;
}
.clear-white .wp-block-button a {
  border-radius: 0;
  background-color: #ffffff;
  color: #00323C;
  border: 1px solid #00323C;
}
.contact-hero p {
  margin-bottom: 5px !important;
}
.contact-hero .extra-pad {
  padding-bottom: 20px;
}
.home-hero {
  align-items: flex-end;
  padding: 0 !Important;
  position: relative;
}
.home-hero .wp-block-cover__inner-container {
  max-width: 1350px;
  margin-left: -80px !important;
}
@media only screen and (max-width: 1530px) {
  .home-hero .wp-block-cover__inner-container {
    margin-left: 0px !important;
    position: absolute;
    left: 0;
    bottom: 0;
  }
}
.home-hero .wp-block-cover__inner-container .wp-block-buttons .wp-block-button a {
  border-radius: 0;
  background-color: #00B9B9;
  color: #00323C;
}
.home-hero .wp-block-cover__inner-container .wp-block-group {
  width: 70%;
  margin: 0 !important;
  border-radius: 0px 40px 0px 0px;
  padding: 100px 100px 80px 40px;
}
@media only screen and (max-width: 780px) {
  .home-hero .wp-block-cover__inner-container .wp-block-group {
    width: 100%;
    padding: 100px 20px 80px 20px;
  }
}
.home-hero .wp-block-cover__inner-container .wp-block-group h1 {
  font-size: 50px !important;
}
@media only screen and (max-width: 1100px) {
  .home-hero .wp-block-cover__inner-container .wp-block-group h1 {
    font-size: 40px !important;
  }
}
@media only screen and (max-width: 780px) {
  .home-hero .wp-block-cover__inner-container .wp-block-group h1 {
    font-size: 30px !important;
  }
}
.home-hero .wp-block-cover__inner-container .flex-this {
  display: flex;
  padding: 0px !important;
  gap: 20px;
  justify-content: center;
  margin-top: 50px !important;
}
.home-hero .wp-block-cover__inner-container .flex-this p {
  margin: 0;
}
.home-hero .wp-block-cover__inner-container .flex-this .arrows {
  padding: 0px !important;
  display: flex;
  gap: 10px;
  margin-bottom: 20px !Important;
  cursor: pointer;
}
.home-hero .wp-block-cover__inner-container .flex-this .arrows figure {
  margin: 0 !important;
  margin-top: -6px !important;
}
.text-block {
  padding-top: 60px;
  padding-bottom: 60px;
  max-width: 1050px !important;
}
@media (max-width: 1350px) {
  .text-block {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
@media (max-width: 1350px) {
  .text-block {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.text-block .col1 {
  display: flex;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
  flex-direction: column;
  padding-right: 15%;
}
.text-block .col2 h2 {
  font-size: 70px;
  margin-bottom: 10px;
}
@media only screen and (max-width: 1100px) {
  .text-block .col2 h2 {
    font-size: 60px !important;
  }
}
@media only screen and (max-width: 780px) {
  .text-block .col2 h2 {
    font-size: 50px !important;
  }
}
.latest-insights {
  padding-top: 60px;
  padding-bottom: 60px;
}
@media (max-width: 1350px) {
  .latest-insights {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (max-width: 1350px) {
  .latest-insights {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
.latest-insights .col1 {
  position: relative;
}
@media only screen and (max-width: 780px) {
  .latest-insights .col1 {
    min-height: 300px;
  }
}
.latest-insights .col1 h3 {
  font-size: 42px;
}
.latest-insights .col1 .arrows {
  display: flex;
  gap: 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  cursor: pointer;
}
@media only screen and (max-width: 780px) {
  .latest-insights .col1 .arrows {
    position: relative;
  }
}
.latest-insights .col1 .arrows figure {
  margin: 0 !important;
}
.latest-insights .col2 {
  padding-top: 30px;
}
@media only screen and (max-width: 780px) {
  .latest-insights .col2 {
    padding-top: 0px;
  }
}
.latest-insights .col2 img {
  border-radius: 0px 40px 0px 40px;
  height: 350px;
  object-fit: cover;
  width: 100%;
  padding-bottom: 20px;
}
.text-block-2 {
  padding-top: 60px;
  padding-bottom: 60px;
}
@media (max-width: 1350px) {
  .text-block-2 {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
@media (max-width: 1350px) {
  .text-block-2 {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.text-block-2 .col1 h3 {
  font-size: 42px;
}
.text-block-2 .col2:not(.with-button) {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media only screen and (max-width: 780px) {
  .text-block-2 .col2:not(.with-button) {
    justify-content: flex-start;
  }
}
.service-tabs {
  padding-top: 60px;
  padding-bottom: 60px;
}
@media (max-width: 1350px) {
  .service-tabs {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
@media (max-width: 1350px) {
  .service-tabs {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.service-tabs .col1, .service-tabs .col2, .service-tabs .col3 {
  position: relative;
}
.service-tabs .col1 img, .service-tabs .col2 img, .service-tabs .col3 img {
  border-radius: 0px 40px 0px 40px;
  height: 550px;
  object-fit: cover;
  width: 100%;
}
.service-tabs .col1 .absol, .service-tabs .col2 .absol, .service-tabs .col3 .absol {
  position: absolute;
  bottom: 5%;
  left: 5%;
}
.service-tabs .col1 .absol p, .service-tabs .col2 .absol p, .service-tabs .col3 .absol p {
  font-size: 35px;
}
.service-tabs .col1 .absolute, .service-tabs .col2 .absolute, .service-tabs .col3 .absolute {
  position: absolute;
  bottom: 5%;
  right: 5%;
  height: 44px;
  width: 44px;
}
.service-tabs .col1 .absolute img, .service-tabs .col2 .absolute img, .service-tabs .col3 .absolute img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  height: auto !important;
  border-radius: 0;
}
.content-area {
  margin-top: 0px !important;
  height: 700px;
}
@media only screen and (max-width: 1350px) {
  .content-area {
    height: fit-content;
  }
}
.content-area p {
  font-size: 28px;
}
.content-area .bolder {
  font-size: 18px;
}
.content-area .is-layout-flex {
  gap: 0px;
}
.content-area .wp-block-buttons .wp-block-button a {
  border-radius: 0;
  background-color: #00323C;
  color: #ffffff;
  border: 1px solid #00323C;
}
.content-area .wp-block-columns {
  gap: 32px;
  height: 100%;
}
@media only screen and (max-width: 780px) {
  .content-area .wp-block-columns {
    flex-direction: column;
    gap: 0px;
  }
}
.content-area .wp-block-column {
  flex-basis: 50% !important;
}
.content-area .col1 figure {
  width: 100%;
  height: 100%;
}
.content-area .col1 figure img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.content-area .col2 {
  padding-right: 20%;
  padding-left: 50px;
  padding-top: 60px;
  padding-bottom: 60px;
}
@media (max-width: 1350px) {
  .content-area .col2 {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
@media (max-width: 1350px) {
  .content-area .col2 {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.simple-text-block {
  padding-top: 60px;
  padding-bottom: 60px;
}
@media (max-width: 1350px) {
  .simple-text-block {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
@media (max-width: 1350px) {
  .simple-text-block {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.simple-text-block p {
  padding-right: 5%;
}
.simple-text-block p:not(.bolder) {
  font-size: 28px;
}
@media (max-width: 1350px) {
  .video-placeholder {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.video-placeholder figure {
  margin: 0 !important;
}
.video-placeholder figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-three-col {
  padding-top: 60px;
  padding-bottom: 60px;
  padding-top: 0px !important;
}
@media (max-width: 1350px) {
  .image-three-col {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
@media (max-width: 1350px) {
  .image-three-col {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.image-three-col img {
  border-radius: 0px 40px 0px 40px;
  height: 350px;
  object-fit: cover;
  width: 100%;
  padding-bottom: 20px;
}
.image-three-col .bolder {
  font-size: 28px;
}
.image-block {
  padding-top: 60px;
  padding-bottom: 60px;
}
@media (max-width: 1350px) {
  .image-block {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
@media (max-width: 1350px) {
  .image-block {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.image-block figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 1350px) {
  .centered-form {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.image-with-card {
  position: relative;
  padding-bottom: 80px;
  height: 700px;
}
.image-with-card .banner {
  width: 100%;
  height: 100%;
  margin: 0 !important;
  max-width: 100% !important;
}
.image-with-card .banner img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.image-with-card .arrows {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-top: 20px;
  cursor: pointer;
}
@media (max-width: 1350px) {
  .image-with-card .arrows {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media only screen and (max-width: 882px) {
  .image-with-card .arrows {
    display: none !important;
  }
}
.image-with-card .arrows p {
  margin: 0 !important;
  padding-left: 30px;
}
.image-with-card .arrows figure {
  margin: 0 !important;
}
.image-with-card .arrows figure img {
  margin: 0 !important;
}
.image-with-card .card-elements {
  width: 600px;
  position: absolute;
  right: 5%;
  bottom: -10%;
  padding: 50px;
  padding-right: 100px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 15px;
  border-radius: 0px 40px 0px 40px;
}
@media only screen and (max-width: 780px) {
  .image-with-card .card-elements {
    width: 100%;
    right: 0;
    bottom: 0;
    border-bottom-left-radius: 0 !important;
  }
}
.image-with-card .card-elements p, .image-with-card .card-elements h4 {
  margin: 0 !important;
}
.image-with-card .card-elements .larger {
  font-size: 38px;
}
@media only screen and (max-width: 780px) {
  .image-with-card .card-elements .larger {
    font-size: 25px;
  }
}
.image-with-card .card-elements .wp-block-buttons {
  margin: 0 !important;
}
.image-with-card .card-elements .wp-block-buttons .wp-block-button a {
  background-color: transparent;
  border-radius: 0;
  border: 1px solid #ffffff;
}
.facts {
  padding-top: 60px;
  padding-bottom: 60px;
}
@media (max-width: 1350px) {
  .facts {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
@media (max-width: 1350px) {
  .facts {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.facts .grid-this {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
}
@media only screen and (max-width: 1100px) {
  .facts .grid-this {
    grid-template-columns: 1fr 1fr;
  }
}
@media only screen and (max-width: 780px) {
  .facts .grid-this {
    grid-template-columns: 1fr;
  }
}
.facts .grid-this .fact {
  border-radius: 0px 40px 0px 40px;
  margin: 0 !important;
  padding: 20px 40px 60px 40px;
}
@media only screen and (max-width: 780px) {
  .facts .grid-this .fact {
    padding: 20px 40px 20px 40px;
  }
}
.facts .grid-this .fact .larger {
  font-size: 100px;
  margin-bottom: 0px;
}
@media only screen and (max-width: 1100px) {
  .facts .grid-this .fact .larger {
    font-size: 75px;
  }
}
@media only screen and (max-width: 780px) {
  .facts .grid-this .fact .larger {
    font-size: 50px !important;
  }
}
.facts .grid-this .fact p:not(.larger) {
  padding-left: 5px;
}
.facts h3 {
  font-size: 42px;
  padding-top: 60px;
  padding-bottom: 60px;
}
@media (max-width: 1350px) {
  .facts h3 {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
.service-menu {
  padding-top: 60px;
  padding-bottom: 60px;
}
@media (max-width: 1350px) {
  .service-menu {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
@media (max-width: 1350px) {
  .service-menu {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.service-menu .highlight {
  border-bottom: 10px solid #FBC311;
}
.service-menu .title {
  padding-bottom: 20px;
}
.service-menu .menu-item {
  border-bottom: 1px solid #ffffff;
  padding-bottom: 20px;
  background-image: url(./../images/White-Arrow.svg);
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 30px;
  background-position-y: calc(50% - 6px);
}
.case-study {
  padding-top: 60px;
  padding-bottom: 60px;
}
@media (max-width: 1350px) {
  .case-study {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
@media (max-width: 1350px) {
  .case-study {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.case-study .wp-block-buttons .wp-block-button a {
  border-radius: 0;
  background-color: #00B9B9;
  color: #00323C;
}
.case-study .col1 {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding-right: 5%;
}
.case-study .col1 h3 {
  font-size: 42px;
}
.case-study .col2 figure {
  margin: 0 !important;
  width: 100%;
  height: 100%;
}
.case-study .col2 figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0px 40px 0px 40px;
}
.quote-slider {
  padding-top: 60px;
  padding-bottom: 60px;
}
@media (max-width: 1350px) {
  .quote-slider {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
@media (max-width: 1350px) {
  .quote-slider {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.quote-slider .larger {
  font-size: 38px;
}
@media only screen and (max-width: 780px) {
  .quote-slider .larger {
    font-size: 25px;
  }
}
.quote-slider .flex-this {
  display: flex;
  justify-content: space-between;
  border-top: 2px solid #EBEBEB;
  padding-top: 20px;
}
@media only screen and (max-width: 780px) {
  .quote-slider .flex-this {
    flex-direction: column;
  }
}
.quote-slider .contact-group {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 0 !important;
}
@media only screen and (max-width: 780px) {
  .quote-slider .contact-group {
    flex-direction: column;
  }
}
.quote-slider .contact-group figure {
  margin: 0 !important;
}
.quote-slider .contact-group figure img {
  border-radius: 50%;
  width: 110px;
  height: 110px;
  object-fit: cover;
}
.quote-slider .contact-group .contact-details {
  margin: 0 !important;
}
.quote-slider .contact-group .contact-details p {
  margin-bottom: 10px;
}
.quote-slider .arrows {
  margin: 0 !important;
  cursor: pointer;
  display: flex;
  gap: 10px;
  align-items: center;
}
@media only screen and (max-width: 780px) {
  .quote-slider .arrows {
    padding-top: 20px;
    justify-content: flex-end;
  }
}
.quote-slider .arrows figure {
  margin: 0 !important;
}


/* ===================
Custom: 4toestudio 
==================== */

/* ==== links ===== */
a {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;}


/* ==== cols ===== */
.colX2 { width: 50%; float: left;}
.justWrapp { width: 100%; overflow: hidden;}


/* ==== Nav ===== */
#nav ul li a {
    font-size: 28px !important;
    margin-left: 20px;}


/* ==== ghotBTN ===== */
.ghostBTN { 
    margin: 10px 0 20px 0 !important;
    line-height: 1em;}

.ghostBTN a {
    font-size: 20px;
    color: #fff;
    border: solid 1px #fff;
    padding: 14px 30px 10px 30px;
}

.ghostBTN a:link, .ghostBTN a:visited { color: #fff;}
.ghostBTN a:hover, .ghostBTN a:active { background: #fff; color: #00323c;}


/* ==== tealBTN ===== */
.wp-block-button a { color: #fff !important;}
.wp-block-button a:hover { background: #00323c !important; color: #fff !important;}


/* ==== Headings ===== */
h3 { 
    font-family: 'effra_trialregular', sans-serif;
    font-size: 24px;}


/* ==== Hero ===== */
#Hero .wp-block-cover, #Hero .wp-block-cover__image-background {
    height: 70% !important;
}


/* ==== IntroBox ===== */
#IntroBox { padding: 80px;}

#IntroBox h1 { 
    font-family: 'effra_trialregular', sans-serif;
    font-size: 40px !important;
}

#IntroBox h3 { color: #00323c !important;}


/* ==== serviBox ===== */
#serviBox {
    width: 100% !important;
    max-width: 100% !important;
    background: #c9c6c3;
    margin: 0 !important;
    padding: 60px 5% !important;
}


/* ==== Footer ===== */
#footer {}

#footer a:link, #footer a:visited { color: #fff; text-decoration: none;}
#footer a:hover, #footer a:active { color: #afdbdd;}


/* ==== (footer) Short descrip ===== */
#footer-short { padding: 20px 0 !important;}
#footer-short p { font-size: 20px !important;}


/* ==== (footer) Nav ===== */
#footer-nav { padding-left: 5%; text-align: right;}

#footer-nav ul { 
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#footer-nav li a {
    font-size: 24px;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

/* ==== (footer) Legal ===== */
#footer-legal ul { 
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#footer-legal li { margin: 0 14px 0 0;}

#footer-legal li a {
    display: block;
	float: left;
    text-decoration: none;
    cursor: pointer;
}

/* ==== (footer) Social ===== */
#footer-social img { 
	max-width: 36px;
	height: auto;
}


