/**
 * Theme Name: NG Construction
 * Template:   twentytwentyfour
 * Description: Custom Theme for NG Construction
 * Version: 1.0.8
 * Author: Cristopher Becerra
 * Author URI: https://www.cristopherbecerra.com
 * Text Domain: ngconstruction
 * Tested up to: 6.8.1
 * Requires at least: 6.8
 * Requires PHP:      8.3
 * License:           MIT
 * License URI:       https://opensource.org/license/mit
 */

:root {
   --main-orange-color: #f79a48;
   --main-black-color: #1e201f;
}

@font-face {
   font-family: arboria-medium;
   src: url(assets/fonts/Arboria-Medium.ttf);
}

@font-face {
   font-family: acumin;
   src: url(assets/fonts/AcuminVariableConcept.otf);
}

@font-face {
   font-family: bison;
   src: url('assets/fonts/Bison-Bold(PersonalUse).ttf');
}

@font-face {
   font-family: myriadPro;
   src: url(assets/fonts/MyriadPro-Regular.otf);
}

@font-face {
   font-family: Dinexp;
   src: url(assets/fonts/D-DINExp-Bold.ttf);
}

* {
   box-sizing: border-box;
}

.font-family-arboria {
   font-family: "arboria-medium", Sans-serif;
}

.font-family-acumin {
   font-family: "acumin", Sans-serif;
}

.font-family-bison {
   font-family: "bison", Sans-serif;
}

.font-family-myriadPro {
   font-family: "myriadPro", Sans-serif;
}

.font-family-Dinexp {
   font-family: "Dinexp", Sans-serif;
}

.padding-left-4 {
   padding-left: 40px;
}

.padding-top-4 {
   padding-top: 80px;
}

.padding-top-2 {
   padding-top: 40px;
}

.padding-bottom-4{
   padding-bottom: 40px;
}

.padding-x-4 {
   padding-left: 40px;
   padding-right: 40px;
}

.d-flex {
   display: flex;
}

.flex-direction-column{
   flex-direction: column;
}

.flex-direction-row{
   flex-direction: row;
}

.justify-content-start {
   justify-content: start;
}

.justify-content-center {
   justify-content: center;
}

.justify-content-end {
   justify-content: end;
}

.align-items-start {
   align-items: start;
}

.align-items-center {
   align-items: center;
}

.align-items-end {
   align-items: end;
}

.flex-grow {
   flex-grow: 1;
}

.width-100 {
   width: 100%;
}

.d-on-desktop {
   display: none;
}

.img-stretch img {height:100%;}
.child-width-auto > * {width: auto !important;}

.bg-black-main{
   background-color: var(--main-black-color);
}

.bg-orange-main{
   background-color: var(--main-orange-color);
}

.color-black-main{
   color: var(--main-black-color);
}

.color-orange-main{
   color: var(--main-orange-color);
}

.bold{
   font-weight: bold;
}


/*Header*/
header {
   position: sticky;
   top: 0;
   z-index: 999;
}

.header-ngconstruction {
   display: flex;
   position: relative;
   top: 0;
   background-color: #ffffff;
   background-image: url('assets/images/fondo-pared.png');
   background-repeat: no-repeat;
   background-position: center center;
   background-size: cover;
   flex-direction: row;
   flex-wrap: wrap;
   padding: 12px;
}

.header-ngconstruction .menu-option{
   width: 100%;
   justify-content: center;
}

.header-ngconstruction .menu-option a {
   text-transform: none;
   font-weight: bold;
   text-decoration: none;
   /*margin-bottom: 20px;*/
   font-size: 1.25em;
}

.header-ngconstruction .menu-option a.active {
   color: var(--main-orange-color);
}

.header-logo {
   height: 10vh;
   width: auto;
}

.menu-button {
   width: 40px;
   margin-right: 20px;
   object-fit: contain;
   cursor: pointer;
}

.mobile-menu {
   width: 100vw;
   height: 0px;
   overflow: hidden;
}

.mobile-menu.display {
   height: inherit;
   border-bottom: solid 5px var(--main-blue-color);
}

#mobile-menu-close {
   display: none;
}

.mobile-menu>a {
   width: 60%;
   display: block;
   margin: auto;
   text-decoration: none;
   font-size: 1.5rem;
}

.footer-ngconstruction {
   display: flex;
   flex-direction: row;
   justify-content: center;
   align-items: stretch;
   flex-wrap: wrap;
}

.footer-ngconstruction>div {
   width: 100%;
}

.footer-ngconstruction>div:nth-child(1) {
   order: 2;
   text-align: center;
}

.footer-ngconstruction>div:nth-child(2) {
   order: 1;
}

div.credits{
   order: 3;
   font-size: .9rem;
   text-align: center;
   padding-bottom: 1.5rem;
   margin: 0;
}

div.credits p{
   margin:0;
}

footer div.copy{
   text-align: center;
}

.footer-ngconstruction img {
   width: 70%;
}

.footer-menu-container {
   /*border-left: solid 2px var(--main-black-color)*/
}

.footer-menu-container a {
   display: block;
   text-decoration: none;
   text-transform: none;
   font-size: 1.2rem;
   width: auto;
}

a.social-icon {
   display: inline-block;
   width: 50px;
   height: 50px;
}

a.social-icon img {
   width: 100%;
   height: 100%;
}

.data-container{
   padding:40px;
}
.data-container p{
   margin-bottom:0px;
}

.data-container ul{
   margin-top:0px;
   margin-bottom:0px;
}

/*Post Page Style*/
.wp-block-post-title{
   width: 90%;
   margin: auto;
   text-align: center;
   border-bottom: solid 4px var(--main-orange-color);
}


@media screen and (min-width: 1024px) and (orientation: landscape) {
   .header-ngconstruction {
      justify-content: space-evenly;
      flex-wrap: nowrap;
   }
   .header-logo {
      height: 20vh;
   }

   .footer-ngconstruction>div {
      width: 50%;
   }
   .footer-ngconstruction{
      padding-top:120px;
      padding-bottom:120px;
   }

   .footer-ngconstruction>div:nth-child(1) {
      order: 1;
      width: 35%;
   }

   .footer-ngconstruction>div:nth-child(2) {
      order: 2;
      border-left:solid 7px var(--main-orange-color);
      flex-grow: 1;
   }

   .footer-menu-container {
      /*border-left: solid 2px var(--main-orange-color)*/
   }
   .footer-menu-container a{
      display: inline-block;
      margin-right:12px;
   }

   .footer-ngconstruction img {
      width: 60%;
   }

   .data-container{
      padding: 20px 80px;
      display: grid;
      grid-template-columns: 1fr 2fr;
      grid-template-rows: auto;
   }

   /*Helpers*/
   .d-on-mobile {
      display: none;
   }

   .d-on-desktop {
      display: inherit;
      ;
   }

   .padding-left-4 {
      padding-left: 80px;
   }
   .padding-x-4 {
      padding-left: 80px;
      padding-right: 80px;
   }

   .wp-block-post-content > .elementor > .elementor-element{
      --padding-left: 25px;
      --padding-right: 25px;
   }

   /*Post Page Style*/
   .wp-block-post-title{
      width: 75%;
   }

}