/*
Theme Name: JMGD Theme
Description: Tema desarrollado para el sitio JMGD.
Author: Facundo Zapata
Tested up to: 6.0
Requires PHP: 5.6
Version: 0.1
License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/

@font-face {
font-family: "TtForms-regular";
   src: url('/wp-content/themes/jmgd/assets/fonts/TTNorms-Regular.eot');
    src: url('/wp-content/themes/jmgd/assets/fonts/TTNorms-Regular.woff') format('woff');
    src: url('/wp-content/themes/jmgd/assets/fonts/TTNorms-Regular.ttf') format('truetype');
}
@font-face {
font-family: "CustomFont";
src: url("jmdg.ar/fonts/ttnorms-regular-webfont.woff") format("woff"),
}
@font-face {
    font-family: "ArimoFont";
    src: url("jmdg.ar/fonts/arimo-variablefont_wght-webfont.woff") format("woff"),
}

/* Fonts */
.navbar-nav li a {
    font-family: 'Roboto', Arial, sans-serif;
}
.cols p {
    font-family: 'Roboto', Arial, sans-serif;
}
.categories a {
    font-family: 'Arimo', Arial, sans-serif;
}


@media (min-width: 1024px) {
  .col-desciption{
    padding-left: 5rem;
  }
}
@media (max-width: 1024px){
  #navbarResponsive {
    text-align: end;
    padding-bottom: 1rem;
  }
}

/* Header */
a.custom-logo-link img {
  width: 100%;
  height: 50px;
}
#navbarResponsive {
  justify-content: flex-end!important;
}
.navbar-expand-lg .container{
  border-bottom: 2px solid black !important;
}
.navbar-nav a {
  color: black;
  font-weight: 500;
  text-decoration: none;
}
.menu-item {
  padding: 0;
  margin: 0;
}
.custom-logo-link {
  padding-bottom: 1rem;
}
#menu-menu-principal .active a {
  font-weight: 800;
}

/* Galery */
.grid-container {
    max-width: 1280px;
    margin: 0 auto;
}
  
.cols {
    margin: 0 auto;
    /* max-width: 1000px; */
    max-width: 1240px;
}
  
.col {
    width: 25%;
    height: 250px;
    float: left;
    margin: 0;
    padding: 0.3rem;
}
  
.col img {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.8;
}
  
.col h2 {
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.grid-1 {
  width: 50%;
}

.grid-3 {
  float: right;
  height: 500px;
}

.grid-5 {
  display: table;
}

.grid-5 > * {
  display: table-cell;
}

.grid-5 > .text-container {
  text-align: center;
  vertical-align: middle;
  width: 50%;
}

.grid-5 img {
  object-position: right;
}
  
.grid-7 {
  width: 50%;
}
  
@supports (display: grid) or (display: -ms-grid) {
  .grid-area {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    justify-content: center;
  }
  .col {
    width: 100%;
    height: 100%;
    float: none;
  }
  .grid-1 {
    grid-column-end: span 2;
  }
  .grid-3 {
    grid-row-end: span 2;
  }
  .grid-5 {
    grid-column-end: span 2;
  }
  .grid-7 {
    grid-column-end: span 2;
  }
}

/* Media queries for other screen widths */
@media screen and (max-width: 450px) {
  .col {
    grid-row-end: unset;
    grid-column-end: unset;
    height: 250px;
  }
  .grid-area {
    display: flex;
    flex-direction: column;
  }
  .grid-3 {
    order: -1;
    height: 500px;
  }
}

@media screen and (max-width: 768px) {
  .grid-2 {
    display: none;
  }
}

/************ Hover effect styles *************/

figure {
  position: relative;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
}

figure figcaption {
  color: #fff;
  backface-visibility: hidden;
}

figure figcaption::before,
figure figcaption::after {
  pointer-events: none;
}

figure figcaption,
figure figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Anchor will cover the whole item by default */

/* For some effects it will show as a button */

figure figcaption > a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}

figure h2 {
  word-spacing: -0.15em;
  font-weight: 300;
}

figure h2 span {
  font-weight: 800;
}

figure h2,
figure .p-1,
figure .p-2 {
  margin: 0;
}

figure button.rww_grid_button {
  background-color: transparent;
  border: 2px solid #fff;
  border-radius: 5px;
  margin: 0 auto;
  padding: 0.5rem;
  font-weight: bold;
  font-size: smaller;
  color: #fff;
  text-transform: uppercase;
  transition: all 0.3s;
}

figure .p-1,
figure .p-2 {
  letter-spacing: 1px;
  font-size: smaller;
      font-weight: 400;
}

figure figcaption::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  opacity: 0;
  transform: translate3d(0, 50%, 0);
}

figure h2 {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  color: #484c61;
  transition: all 0.35s;
  transform: translate3d(0, -50%, 0);
}

figure figcaption::before,
figure .p-1,
figure .p-2,
figure .grid-button-wrapper {
  transition: all 0.35s;
}

figure .grid-button-wrapper {
  position: absolute;
  bottom: 35%;
  left: 0;
  right: 0;
  width: 100%;
  opacity: 0;
  transform: translate3d(0, 20px, 0);
}

figure .p-1 {
  position: absolute;
  bottom: 55%;
  left: 0;
  right: 0;
  width: 100%;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  color: #0d6efd;
    font-size: 18px;
  
}
figure .p-2 {
    position: absolute;
    bottom: 45%;
    left: 0;
    right: 0;
    width: 100%;
    opacity: 0;
    transform: translate3d(0, 10px, 0);
      color: #0d6efd;
    font-size: 16px;
}
figure .separador {
    position: absolute;
    bottom: 50%;
    left: 0;
    right: 0;
    width: 100%;
    opacity: 0;
    transform: translate3d(0, 10px, 0);
}

figure:hover h2 {
  background: none;
  color: #fff;
  transform: translate3d(0, -50%, 0) translate3d(0, -40px, 0);
}

figure:hover figcaption::before,
figure:hover p,
figure:hover .grid-button-wrapper {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
figure:hover .separador {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  border-top: 1px solid black;
  padding: 0;
  width: 80%;
  text-align: center;
  margin-left: 10%;
  transition: all 0.35s;
}
figure:hover figcaption {
  /*background-image: url(/wp-content/uploads/background.galery-1.webp);*/
  /*border: 2px solid black;*/
      border: 2px solid #0d6efd;
    background: rgb(255 255 255 / 75%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.p-1, .p-2{
  color:rgba(0, 0, 0, 0.8);
  font-weight: 700;
  padding: 0 !important;
}
.col .border {
  border: none !important;
}
figure.col.grid-5 {
  display: block;
}
.arrow-more{
  width: 3% !important;
  cursor: pointer !important;
}

/* categories - home */
.categories ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex
}
.categories ul li{
  padding-right: 8px;
}
.categories-section {
  text-align: right;
}
.categories a {
  text-decoration: none;
  color: black;
  font-weight: 500;
}
.categories .text-bold {
  font-weight: 900;
}

footer{
  margin-top: 4rem;
}
.grid-3 .p-1{
  bottom: 52% !important;
}
.grid-3 .p-2{
  bottom: 45% ;
}
figure.col.grid-5 {
  height: 98%;
}
@media screen and (max-width: 768px) {
  .grid-3 .p-2{
  bottom: 40% !important;
}
}

/* Post content */
.title-post {
  padding-top: 0.5rem;
}
.section-description {
  padding-top: 1.6rem;
} 
.description-post {
  font-weight: 500;
  font-size: 30px;
}
.section-galery {
  padding-top: 5rem;
}
.description-image-galery {
  padding: 1.3rem 0rem;
}
.post-content .categories-section .text-bold {
    text-decoration: underline;
}

/* contact */

.title-contact{
  font-weight: 500;
  font-size: 19px;
  margin: 0;
}

.mail-contact {
  text-decoration: none;
  color: black;
  font-size: 60px;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .mail-contact {
       font-size: 34px !important;
  }
}
.section-contact{
  height: auto;
  word-wrap: break-word;
}
.description-contact{
  font-weight: 400;
  font-size: 30px;
}
.link-clients-contact {
  font-weight: 500;
  font-size: 20px;
  text-decoration: none;
  color: black;
}