﻿/*
Theme Name: Correos
Theme URI:
Author: Oreana 
Author URI:
Description: Theme para plantilla
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: mobile first, responsive
Text Domain: protoripocorreos
*/

html {
  box-sizing: border-box;
  font-size: 16px;
  font-family: sans-serif;
  scroll-behavior: smooth;
}
li::marker {
  color: white;
}

body {
  max-width: 1353px;
  margin: auto;
}
*,*::after, *::before {
  box-sizing: inherit;
}
h1{
    font-size: 44px;
    text-align: center;
}
h2{
    font-size: 35px;
}
h3
{
    font-size: 28px;
}
h4{
    font-size: 22px;
}
h5{
  font-size: 18px;
}
h6 {
  font-size: 16.5px;
}
.texto-centrado {
  text-align: center;
}


/*Encabezado*/
.contenedor {
  display: grid;
  grid-template-columns: 14% 42.9% 20% 23%;/*189 580 275 305px*/
  grid-template-rows: 129px;
  margin: auto;
  width: 100%;
  max-width: 1353px;
  position: relative;
  z-index: 4;
}
header.encabezado-sitio {
  width: 100%;
  height: 129px;
  margin: auto;
  position: relative;
  z-index: 14;
}
.imagen2 img {
 height: 129px;
 margin-left: 10%;
}
.imagen1 img {
  height: 129px;
  margin-left: 20px;
}
.imagen3 img {
  height: 129px;
}
.imagen4 img {
  width: 100%;
  height: 100%;
}
.contenedor div {
  height: 129px;
}
@media only screen and (max-width:1024px) {
  
  header.encabezado-sitio .contenedor {
    display: grid;
    grid-template-columns: minmax(min-content,97%);
    grid-template-rows: repeat(2, minmax(min-content,72%));
    height: 72%;
    width: 90%;
    position: relative;
  }
  header.encabezado-sitio {
    width: 100%;
    height: 90%;
  }
  .contenedor .imagen1 {
    width: 70%;
    height: 80%;
    margin: 20px auto auto auto;
  }
  .contenedor .imagen2 {
    height: 100%;
    max-width: 100%;
    margin: auto;
    width: 100%;
  }
  .contenedor .imagen2 img,
  .contenedor .imagen1 img {
    margin-left: 0;
  }
  .contenedor .imagen-caja {
    
    height: 100%;
    width: 100%;
  
  }
  .contenedor article {
    width: 70%;
    height: 100%;
   margin: auto;
  }
  
  .contenedor .imagen3,
  .contenedor .imagen4 {
    display: none;
  }
}

.contenedor-navegacion {
  width: 1353px;
  margin: auto;
  max-width:1353px;
  height: 50px;
  position: relative;
  z-index: 2;
}

@media only screen and (min-width:767px){
  .mobile-menu a {
    display: none;
  }
}

@media only screen and (min-width:768px) and (max-width:1024px) {
  .contenedor {
    width: 100%;
    max-width: 100%;
  }
  .imagen1 img {
    margin: 0;
    width: 85%;
  }
  .imagen4 img {
    width: 100%;
    height: 100%;
  }
}

* {
  box-sizing: border-box;
  font-family: "Dosis", sans-serif;
}
.main-navigation {
  background-color: #2C4EA3;
  margin: 0;
  width: 100%;
  max-width: 1353px;
}
ul {
  margin: 0;
  padding: 0;
}
.menu {
  display: flex;
  flex-direction: column;
}
.menu li {
  display: block;
  list-style-type: none;
  font-weight: bold;
}
.menu li a {
  display: flex;
  text-align: center;
  text-decoration: none;
  color: white;
  padding: 1rem;
}
.menu li a:hover {
  background: #004080;
  color: white;
}
@media (min-width: 768px) {
  .menu {
    flex-direction: row;
    justify-content: space-between;
 }
}
.menu-item-has-children > a:after {
  font-family: 'Fontawesome';
  content: '\f107';
  padding: 1px;
}
nav ul ul {
  display: none;
}
@media (min-width: 768px) {
  nav ul ul {
    display: none;
    position: absolute;
 }
}
nav ul li:hover > ul {
  display: block;
  color: #2C4EA3;
  padding-left: 2rem;
}
@media (min-width: 768px) {
  nav ul li:hover > ul {
    padding-left: 0;
    background-color: #2C4EA3;
  }
  .contenedor-navegacion { 
    max-width: 100%;
    width: 100%;
  }
 
  nav ul li:hover > ul a {
    color: #fff;
 }
  .sub-menu li {
    display: flex;
 }
 .sub-menu .sub-menu li {
    width: max-content;
 }
  .sub-menu li:hover, .sub-menu li a:hover {
    background: #004080;
    color: white;
 }
  nav ul ul ul {
    margin: 0 0 0 100%;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
 }
  .menu-item-has-children .menu-item-has-children > a:after {
    font-family: 'Fontawesome';
    content: '\f107';
    padding: 1px;
    transform: rotate(-90deg);
 }
}

/*Responsive menú*/
@media only screen and  (max-width:767px) {
  .contenedor-navegacion {
    width: 100%;
    max-width: 100%;
    display: block;
    position: relative;
    top: 0;
    z-index: 12;
    height: 70%;
    margin: 0;
  }
  .mobile-menu {
    display: block;
    background-color: #2C4EA3;
    text-align: center;
    cursor: pointer;
    width: 100%;
  }

  .mobile-menu a {
    color: white;
    font-size: 20px;
  }


}


/*Buscador*/
article.itemb div.widget {
  float: left;
  padding-top: 6%;
}
.wp-block-search .wp-block-search__button {
  border-radius: 10px;
  padding: 1px;
  cursor: pointer;
}

/*Redes sociales*/
article.items ul {
  width: 100%;
  height: 100%;
  margin: 0;
  padding-top: 5%;
}
.navbus {
  display: grid;
  grid-template-columns: 300px minmax(140px,150px);
  height: 40%;/*50px*/
  width: 20%;/*450px*/
  margin: 40px auto auto auto;
  padding-left: 400px;
  margin-bottom: 20px;
  max-width: 450px;
  position: relative;
}
.navbus article {
  height: 50px;
  margin: auto;
}


/*Responsive redes sociales*/
@media only screen and (max-width:767px)  {
  .navbus {
    display: grid;
    width: 80%;
    height: 70%;
    margin: auto;
    padding-top: 5%;
    grid-template-columns: 100%;
    grid-template-rows: 50% 50%;
    padding-left: 0;
    padding-bottom: 5%;
  }
  .navbus article {
    height: 50px;
   margin: auto;
   width: 100%;
  } 
  article.itemb div.widget {
    margin: auto;
    float: right;
    padding: 0;
  }
  .wp-block-search .wp-block-search__button {
    width: 20%;
  }
  article.items div {
    width: 60%;
    margin: auto;
  }
  article.items ul {
    margin: auto;
  }
}
@media only screen and (min-width:768px)and (max-width:1024px) {/*Tablet*/
  .navbus {
    display: grid;
    width: 100%;
    height: 70px;
    max-width: 100%;
    margin: 40px auto auto auto;
    padding-left: 0;
    grid-template-columns: 60% 40%;
    
  }
  .navbus article {
    height: 100%;
   margin: auto;
   width: 100%;
  }
  .navbus form {
    width: 100%;
    height: 100%;
  }
  
  article.itemb div.widget {
    margin: auto;
    padding-top:  0;
    width: 100%;
    height: 100%;
  }
  article.itemb div.widget div {
    width: 100%;
    height: 100%;
  }
  .wp-block-search .wp-block-search__input {
    width: 100%;
  }
  .wp-block-search .wp-block-search__button {
    width: 40%;
  }
  article.items div {
    width: 70%;
    margin: auto;
  }
  article.items ul {
    padding-left: 25%;
    float: right;
  }
}

/*Grid*/
@media only screen and (min-width:768px){
  .contenedor-grid{
      margin-left: -10px;
      margin-right: -10px;
  }
}
.contenedor-grid::after{
  content:'';
  display: block;
  clear: both;
}
.columnas1-4 {
  width: 25%; 
}
main.contenedor-grid{
  width: 1353px;
  height: 100%;/*950px*/
  background-color: white;
  border: none; 
  padding: 0;
  margin-top: 10px;
}
main.contenedor-grid a h2 {
  margin: auto;
  padding-top: 20%;
  padding-right: 28%;
  width: 60%;
}
main.contenedor-grid a {
  text-decoration: none;
  color: black;
}
main.contenedor-grid a:hover {
  color: #2C4EA3;
}
div.principal-contenedor {
  max-width: 1353px;
  margin: auto;
}
.divras {
  display: grid;
  grid-template-rows: 100%;
  grid-template-columns: 30% 70%;
  width: 100%;
  height: 200px;
  background-color: #004080;
  margin-bottom: 3%;
  margin-top: 5%;
}
.divras .envios {
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  width: 100%;
  height: 100%;
}
.divras h3 {
  margin:6%; top:5%;
}
.divras div{
  padding-bottom: 0px;
  width: 90%;
  margin: auto;
}
.divras div img {
  height: 90%;
  width: 100%;
  margin-top: 10%;
}
.banner {
  display: grid;
  grid-template-columns: repeat(4,25%);
  grid-template-rows: repeat(3,30%);
  row-gap: 32px;
  column-gap: 20px;
  width: 70%;
  height: 100%;
  max-width:1353px; 
  margin:auto; 
  padding-bottom:5%;
}
.banner img {
  height: 80%;
  width: 80%;
}
.banner p {
  max-width: 100%;
}
@media only screen and (max-width:767px) {
 .banner {
   display: grid;
   grid-template-columns: repeat(2,50%);
   grid-template-rows: repeat(6,14%);
   width: 80%;
   row-gap: 4%;
   height: 100%;
   margin-bottom: 12%;
 }
}
aside.columnas1-3 {
  display: grid;
  grid-template-columns: repeat(3,33.3%); 
  grid-template-rows: repeat(2,320px);
  column-gap: 32px;
  row-gap: 32px;
  width: 70%;
  margin: auto;
 height: 750px;
  float: inherit;
}
aside.columnas1-3 div.widget {
  text-align: center;
  width: 260px;
  margin: auto;
  height: 230px;
  background-color: white;
}


aside.columnas1-3 section {
  text-align: center;
  height: 100%;
  width: 100%;
  margin: auto;
  margin-top: 0;
}
aside.columnas1-3 section h3 {
  color: black;
  text-transform: uppercase;
  font-style: italic;
  width: 300px;
}
div.principal-contenedor {
  margin: auto;
  max-width: 1353px;
  width: 1353px;
  height: 100%;
}

aside.columnas1-3 .artboard {
  display: flex;
  flex-flow: row;
	align-items: center;
	justify-content: center;
  width: 260px;
	height: 230px;
	position: relative;
  max-width: 1353px;
  margin: auto;
}

@media (max-width: 37.5em) {
  aside.columnas1-3.artboard {
    padding: 1rem;
 }
}

aside.columnas1-3 .card {
  flex: initial;
  position: relative;
  height:100%;
  width: 100%;
 
  -moz-perspective: 200rem;
  perspective: 200rem;
}
aside.columnas1-3 .card__side {
  height: 100%;
  transition: all 0.8s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-backface-visibility: hidden;
 /* We don't want to see the back part of the element. */
  backface-visibility: hidden;
 /* We don't want to see the back part of the element. */
  border-radius: 3px;
  overflow: hidden;
 /* The image is overflowing the parent. */
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.15);
}
aside.columnas1-3 .card__side--back {
  background-color: white;
}
aside.columnas1-3 .card__side--front {
  background-color: #2C4EA3;
  transform: rotateY(180deg);
}
aside.columnas1-3 .card:hover .card__side--front {
  transform: rotateY(0);
}
aside.columnas1-3.card:hover .card__side--back {
  transform: rotateY(-180deg);
}

aside.columnas1-3 .card__theme-box {
  color: #fff;
  height: 100%;
}

aside.columnas1-3 .card__title {
  font-family: "VT323", monospace;
  text-transform: uppercase;
  font-size: 6rem;
  font-weight: 100;
}
aside.columnas1-3 .card__theme {
  height: 100%;
  width: 90%;
  margin-left: 6%;
}
aside.columnas1-3 .card__details {
  margin: 5%;
  position: absolute;
  top:50%;
  left: 45%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: right;
}
aside.columnas1-3 .card__details h5 {
  height:100%;
  color: white;
  margin-left: auto;
  margin-right: auto;
}

aside.columnas1-3 .card__details ul li:not(:last-child) {
  border-bottom: 1px solid #eee;
}
@media only screen and (max-width: 37.5em), only screen and (hover: none) {
  aside.columnas1-3 .card {
    height: auto;
    border-radius: 3px;
    background-color: #fff;
    box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.15);
 }
 aside.columnas1-3 .card__side {
    height: auto;
    position: relative;
    box-shadow: none;
 }
 aside.columnas1-3 .card__side--front {
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
 }
 aside.columnas1-3 .card__details {
    padding: 3rem 2rem;
 }
 aside.columnas1-3 .card__theme {
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0);
    width: 100%;
    padding: 5rem 4rem 1.5rem 4rem;
    text-align: right;
 }
 aside.columnas1-3 .card__theme-box {
    margin-bottom: 1.5rem;
 }
 aside.columnas1-3.card__title {
    font-size: 4rem;
 }
}
aside.columnas1-3 .card img {
  width: 100%;
  height: 100%;
  padding-left: 5%;
  padding-top: 3%;
}
aside.columnas1-3 .card figure {
  height: 85%;
}
aside.columnas1-3 .s2 .card img {
  padding-top: 15%;
}
aside.columnas1-3 .s3 .card img {
  width: 90%;
}
aside.columnas1-3 .s5 .card img {
  padding-bottom: 3%;
  width: 100%;
}


/*menu*/
/* Style The Dropdown Button */
.dropbtn {
  background-color: white;
  color: #606060;
 font-weight: bold;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  width: 100%;
  height: 60%;
}
/* The container <div> - needed to position the dropdown content */
.divras div.dropdown {
  position: relative;
  display: inline-block;
  width: 95%;
  height: 38%;
  margin-left: 5%;
}
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  margin-top: 15%;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}
/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}
/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  background-color: #3e8e41;
  color: black;
}
div.dropdown li::marker {
  display: none;
  color: white;
}
/*Responsive menu*/

@media only screen and (max-width:767px) {
  .divras div.dropdown {
    width: 85%;
    height: 38%;
  }
  .divras div.dropdown-content {
    height: 408px;
  }
}

/*Responsive columnas1/3*/
@media only screen and (max-width:360px) {
  div.principal-contenedor{
    height: 100%;
    width: 100%;
    margin-bottom: 30px;
    margin: auto;
    padding-bottom: 20%;
  }
  main.contenedor-grid {
    height: 100%;
    width: 100%;
  }
  .divras {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 20% 80%;
    margin: auto auto 10px auto;
    width: 100%;
    height: 950px;
    margin-bottom: 8%;
  }
  .dropbtn {
    height: 100%;
  }
  .divras .envios {
    display: grid;
    grid-template-rows: 25% 25% 25% 25%;
    grid-template-columns: 100%;
    row-gap: 2%;
    height: max-content;
  }
  .divras .envios  img {
    margin: auto;
  }
  .divras .envios .ite3 div {
    margin-bottom: 8%;
    padding: 0;
  }
  .divras div {
    width: 55%;
  }
  .divras article {
    width: 100%;
  }
  main.contenedor-grid a h2 {
    width: 90%;
    height: 100%;
    padding-right: 0;
    padding-top: 5%;
    margin: auto;
  }
  .divras .ite3 div {
    padding-right: 0;
    padding-top: 5%;
  }
  aside.columnas1-3 {
    display: grid;
    grid-template-columns: minmax(min-content,100%);
    grid-template-rows: repeat(6,15%);
    margin: auto;
    height: 100%;
    width: 100%;
  }
  aside.columnas1-3 figure {
    margin: auto;
    padding: auto;
    width: 100%;
    height: 100%;
  }
  aside.columnas1-3 section h3 {
    text-align: center;
    margin: auto;
    margin-top: 5%;
  }
  aside.columnas1-3 div img {
    width: 100%;
    height: 80%;
  }
  aside.columnas1-3 .card {
    height: 100%;
  }
  aside.columnas1-3 .card__details {
    height: 100%;
    margin: 0;
    padding: 0;
  }
  aside.columnas1-3 .card__side {
    overflow: inherit;
  }
  aside.columnas1-3 .card__details,
  aside.columnas1-3 .card__side,
  aside.columnas1-3 .card__side--front {
    transform: none;
    left: 0;
  }
  aside.columnas1-3 .card__side--front {
    display: none;
  }
}


@media only screen and (min-width:361px) and (max-width:640px)  {
  div.principal-contenedor{
    height: 100%;
    width: 100%;
    margin-bottom: 30px;
    margin: auto;
    padding-bottom: 20%;
  }
  main.contenedor-grid {
    height: 100%;
    width: 100%;
  }
  .divras {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 20% 80%;
    margin: auto auto 10px auto;
    width: 100%;
    height: 100%;
    margin-bottom: 8%;
  }
  .dropbtn {
    height: 100%;
  }
  .divras .envios {
    display: grid;
    grid-template-rows: 25% 25% 25% 25%;
    grid-template-columns: 100%;
    
    height: 100%;
  }
  .divras .envios  img {
    margin: auto;
  }
  .divras .envios .ite3 div {
    margin-bottom: 8%;
    padding: 0;
  }
  .divras div {
    width: 55%;
  }
  .divras article {
    width: 100%;
    height: max-content;
  }
  main.contenedor-grid a h2 {
    width: 90%;
    height: 100%;
    padding-right: 0;
    padding-top: 5%;
    margin: auto;
  }
  .divras .ite3 div {
    padding-right: 0;
    padding-top: 5%;
  }
  aside.columnas1-3 {
    display: grid;
    grid-template-columns: minmax(min-content,100%);
    grid-template-rows: repeat(6,15%);
    margin: auto;
    height: 100%;
    width: 100%;
  }
  aside.columnas1-3 figure {
    margin: auto;
    padding: auto;
    width: 100%;
    height: 100%;
  }
  aside.columnas1-3 section h3 {
    text-align: center;
    margin: auto;
    margin-top: 5%;
  }
  aside.columnas1-3 div img {
    width: 100%;
    height: 80%;
  }
  aside.columnas1-3 .card {
    height: 100%;
  }
  aside.columnas1-3 .card__details {
    height: 100%;
    margin: 0;
    padding: 0;
  }
  aside.columnas1-3 .card__side {
    overflow: inherit;
  }
  aside.columnas1-3 .card__details,
  aside.columnas1-3 .card__side,
  aside.columnas1-3 .card__side--front {
    transform: none;
    left: 0;
  }
  aside.columnas1-3 .card__side--front {
    display: none;
  }
}

@media only screen and (min-width:600px) and (max-width:960px) {
  div.principal-contenedor{
    height: 100%;
    width: 100%;
    margin-bottom: 35%;
    margin: auto;
  }
  main.contenedor-grid {
    height: 100%;
    width: 100%;
    margin: auto;
    padding-bottom: 20%;
  }
  .divras {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 60% 40%;
    height: max-content;
    margin: 8% auto 8% auto;
  }
  .divras .envios {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    width: 100%;
    height:max-content;
    background-color: #004080;
  }
  .divras h3 {
    margin: 3%;
  }
  .divras div {
    width: 75%;
    height: 100%;
  }
  .divras .dropdown-content {
    height: max-content;
  }
  .divras div.dropdown {
    margin-left: 8%;
    width: 85%;
    height: 45%;
  }
  .dropbtn {
    margin: auto;
    width: 100%;
    height: 90%;
  }
  .divras article {
    width: 100%;
    height: 100%;
  }
  aside.columnas1-3 {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    grid-template-rows: repeat(3,33%);
    margin: auto;
    height: 100%;
    width: 90%;
    row-gap: 5%;
  }
  aside.columnas1-3 section {
    height: 100%;
    width: 100%;
  }
  aside.columnas1-3 section h3 {
    text-align: center;
    margin: auto;
    margin-top: 5%;
  }
  aside.columnas1-3 figure {
    margin: auto;
    padding: auto;
    width: 90%;
  }
  aside.columnas1-3 .card {
    height: 100%;
  }
  aside.columnas1-3 .card__details {
    height: 230px;
    margin: 0;
    padding: 0;
  }
  aside.columnas1-3 .card__side {
    overflow: inherit;
  }
  aside.columnas1-3 .card__details,
  aside.columnas1-3 .card__side,
  aside.columnas1-3 .card__side--front {
    transform: none;
    left: 0;
  }
  aside.columnas1-3 .card__side--front {
    display: none;
  }
}
@media only screen and (min-width:961px) and (max-width:1280px){/*Tablet*/
  div.principal-contenedor{
    height: 100%;
    width: 100%;
    margin-bottom: 35%;
    margin: auto;
  }
  main.contenedor-grid {
    height: 100%;
    width: 100%;
    margin: auto;
    padding-bottom: 20%;
  }
  .divras {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 55% 45%;
    height: max-content;
    margin: 8% auto 8% auto;
  }
  .divras .dropdown-content {
    height: max-content;
  }
  .divras .envios {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    width: 100%;
    height:max-content;
    background-color: #004080;
  }
  .divras h3 {
    margin: 3%;
  }
  .divras div {
    width: 75%;
    height: 100%;
  }
  .divras div.dropdown {
    margin-left: 8%;
    width: 85%;
    height: 45%;
  }
  .dropbtn {
    margin: auto;
    width: 100%;
    height: 90%;
  }
  .divras article {
    width: 100%;
    height: 100%;
  }
  aside.columnas1-3 {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    grid-template-rows: repeat(3,33%);
    margin: auto;
    height: 100%;
    width: 90%;
    row-gap: 5%;
  }
  aside.columnas1-3 section {
    height: 100%;
    width: 100%;
  }
  aside.columnas1-3 section h3 {
    text-align: center;
    margin: auto;
    margin-top: 5%;
  }
  aside.columnas1-3 figure {
    margin: auto;
    padding: auto;
    width: 90%;
  }
  aside.columnas1-3 .card {
    height: 100%;
  }
  aside.columnas1-3 .card__details {
    height: 230px;
    margin: 0;
    padding: 0;
  }
  aside.columnas1-3 .card__side {
    overflow: inherit;
  }
  aside.columnas1-3 .card__details,
  aside.columnas1-3 .card__side,
  aside.columnas1-3 .card__side--front {
    transform: none;
    left: 0;
  }
  aside.columnas1-3 .card__side--front {
    display: none;
  }
}

/*Front page*/
aside.front {
  display: grid;
  grid-template-columns: repeat(3,32%);/*400px*/
  column-gap: 25px;
  width: 100%;
  height: 400px;
 float: inherit;
}
aside.front .widget figure {
  width: 100%;
  height: 350px;
  position:relative;
  overflow:hidden;
  display: table;
}
aside.front img{
  width: 100%;
  height: 350px;
}
aside.front .widget {
  width: 400px;
  height: 350px;
}
main.grid {
  max-width: 1353px;
  margin: auto;
  width: 100%;
  height: 100%;
}
aside.front .widget figure:hover div.informacion,
aside.front .widget img:hover {
  transition:  1s;
  transform: scale(1.1);
}

@media only screen and (max-width:767px){
  main.grid{
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 33.3% 33.3% 33.3%;
    column-gap: 10px;
    margin: auto;
    row-gap: 10px;
    height: 100%;
    width: 90%;
    max-width: 100%;
  }
  main.grid h2{
    font-size: 20px;
  }
  main.grid article {
    margin: auto;
  }
  aside.front {
    display: inline;
    margin: auto;
    width: 90%;
    height: 100%;
  }
  aside.front article {
    padding-bottom: 20px;
    margin: auto;
  }
  aside.front .widget figure{
    overflow: visible;
    display: block;
    margin-bottom: 30px;
    width: 100%;
    height: 100%;
  }
  aside.front .widget {
    width: 100%;
    height: 100%;
    margin: auto;
  }
  aside.front img{
    width: 100%;
    height: 100%;
    margin: auto;
  }
  .item1 {
    width: 100%;
  }
  div.img2 {
    width: 100%;
    margin: auto;
  }
  div.img2 img {
    width: 100%;
    max-width: 100%;
    height: 90%;
  }
  
}
@media only screen and (min-width:768px) and (max-width:1024px) { /*Tablet*/
  main.grid{
    display: grid;
    grid-template-columns: minmax(min-content,100%);
    grid-template-rows: 100%;
    column-gap: 10px;
    margin: auto;
    width: 100%;
    max-width: 100%;
    height: min-content;
  }
  main.grid h2{
    font-size: 20px;
  }
  main.grid article {
    margin: auto;
  }
  aside.front {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: repeat(3,30%);
    height: 100%;
    margin: auto;
    width: 90%;
    row-gap: 4%;
  }
  aside.front article {
    padding-bottom: 20px;
    margin: auto;
    width: 100%;
    height: 100%;
  }
  aside.front .widget figure{
    overflow: visible;
    display: block;
    margin-bottom: 30px;
    width: 100%;
    height: 100%;
  }
  aside.front .widget {
    width: 100%;
    height: 100%;
    margin: auto;
  }
  aside.front img{
    width: 100%;
    height: 100%;
    margin: auto;
  }
  .item1 {
    width: 100%;
  }
  div.img2 {
    margin: auto;
    width: 100%;
    max-width: 100%;
  }
}
aside.front figcaption {
  font-size: 25px;
  text-align: center;
  margin: 150px 20px 20px 20px;
  line-height: 30px;
}


  /*Swiper*/
div.gridfila {
  display: grid;
  grid-template-columns: minmax(30%,max-content);/*380p*/
  grid-template-rows:  repeat(2,minmax(min-content,30%));
  margin: auto;
  width: 100%;
  max-width: 1353px;

}
.bannerp div.wp-block-nextend-smartslider3 {
  margin: auto;
  max-width: 1353px;
}
.bannerp div.wp-block-nextend-smartslider3 .n2-ss-slider-wrapper-inside {
  width: 100%;
  max-width: 1353px;
  margin: auto;
}
div.gridfila .swiper {
  width: 100%;
  max-width: 1353px;
  padding-top: 50px;
  margin-bottom: 60px;
}
div.gridfila a {
  text-decoration: none;
}
div.gridfila .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 170px;
  height: 230px;
}
div.gridfila .swiper-slide img {
  display: block;
  width: 100%;
}
div.gridfila .swiper img {
  width: 160px;
  height: 230px;
}
.swiper1 {
  width: 1353px;
  height: 50%;
  max-width: 1353px;
  margin: auto;
  margin-top: 20px;
 margin-bottom: 20px;
 position: relative;
 z-index: 0;
}

@media only screen and (max-width:767px) {
  div.gridfila {
    grid-template-columns: minmax(90%,max-content);/*380p*/
    grid-template-rows:  repeat(2,minmax(min-content,30%));
    margin: auto;
    width: 95%;
  }
  div.gridfila .swiper {
    width: 100%;
  }

}
@media only screen and (min-width:768px) and (max-width:1025px) {
  div.gridfila {
    grid-template-columns: minmax(30%,max-content);/*380p*/
    grid-template-rows:  repeat(2,minmax(min-content,30%));
    margin: auto;
    width: 100%;
  }
  div.gridfila .swiper {
    width: 100%;
  }
 
  .swiper-button-next, .swiper-button-prev {
    top: 60%;
  }
}

@media only screen and (max-width:767px) {
  .swiper-wrapper,
  div.swiper-button-next,
  div.swiper-button-prev {
    display: none;
  }
}

.swiper2  {
  width: 90%;
  padding: 0;
  max-width: 1353px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  list-style: none;
  overflow: hidden;
}
.swiper2 .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 300px;
  height: 220px;
}
.swiper2 .swiper-slide img {
  display: block;
  width: 100%;
}
.swiper2 img {
  width: 300px;
  height: 219px;
}
@media only screen and (min-width:360px) and (max-width:1024px){
  .swiper2 {
    width: 100%;
  }
  .sellos section img {
    width: 80%;
  }
}

/*Footer*/
footer {
  margin: auto;
  max-width: 1353px;
  position: relative;
  width: 100%;
}
.ubicacion {
  display: grid;
  grid-template-columns: 100%;
  width: 100%;
  max-width: 1353px;
  color: white;
  background-color: #2C4EA3 ;
  font-weight: bold;
  margin: auto;
}
.ubicacion h2 {
 margin:auto;
 width: 60%;
 height: 50%;
 font-style: italic;
 font-weight: 900;
 padding-top: 2%;
 margin-bottom: 1%;
}
.ubicacion  div {
  width: 18%;
  margin: auto ;
}
.ubicacion article {
  height: 100%;

}
.ubicacion ul {
  margin: 0;
}
@media only screen and (max-width:640px) {
  
  .ubicacion h2 {
    margin-bottom: 5%;
  }
}

.cajas {
  display: none;
  grid-template-columns: 234px 613px 450px;
  height: 130px;
  margin: 20px 20px 0px 0px;
  width: 1353px;
  column-gap: 30px;
}
.cajas article figure{
  height: 130px;
}
article.item-1 {
  height: 130px;
  width: 224px;
}
article.item-2 {
  height: 130px;
  width: 613px;
}
article.item-3 {
  height: 130px;
  width: 443px;
}
article.item-3 img {
  width: 420px;
  height: 100%;
  padding-bottom: 10px;
  padding-top: 10px;
}
article.item-3 div {
  width: 420px;
}
article.item-2 img {
  width: 500px;
  height: 120px;
  margin: 10px 30px 0px 100px;
}
.cajas img {
  height: 130px;
}
aside.imgf img{
  margin: 0;
  width: 130px;
  height: 110px;
}
aside.imgf div.widget {
  width: 100%;
  height: 132px;
  margin: 0;
}
aside.imgf {
  width: 60%;
  height: 132px;
  margin-top:5%;
  margin-right: 8%;
  text-align: center;
  float: right;
}
aside.imgf figcaption {
  font-size: 15px;
  margin: 0;
}
div.container {
 display: grid;
 grid-template-columns: 45% 35% 20%;/*600px 753px*/
 grid-template-rows:100%;
 height: 180px;
 width: 100%;
 background-color: #2C4EA3;
}
div.container p {
  color: white;
  font-size: 18px;
 font-weight: 900;
 font-style: italic;
}
div.container b {
  font-weight: normal;
  font-size: 15px;
  margin-left: 5%;
  width: 90%;
  font-style: italic;
  content: '\f0e0';
}
div.container .itemm p {
  width: 73%;
  float: right;
  padding-top: 20%;
}
div.container .itemm b {
  margin: 0;
}
.container .itemc p {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 5%;
  width: 100%;
}
.itemc p i {
  content: '\f232';
 background-color: #3e8e41;
 margin-left: 1%;

}


/*Responsive footer*/
@media only screen and (max-width:360px) {
  div.container {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 50% 20% 30%;/*230px*/
   width: 100%;
   height: 100%;
   text-align: center;
  }
  div.container article {
    height: 100%;
  }
  div.container p {
    width: 80%;
    margin: auto;
  }
  div.container b {
    margin: auto;
    width: 30%;
  }
  div.container .itemm p {
    padding-top: 5%;
    width: 95%;
    float: none;
    margin: auto;
  }
  div.container .itemc p {
    width: 90%;
  }
  .pcaja {
    display: none;
  }
  .ubicacion {
    grid-template-rows: 30% 70%;
    width: 100%;
    height: 100%;
  }
  .ubicacion div.widget {
    width: 48%;
    margin: auto;
  }
  .ubicacion h2 {
    width: 100%;
    text-align: center;
    height: 65%;
  }
  .ubicacion article {
    width: 100%;/*340px*/
    margin: auto;
    background-color: #2C4EA3;
  }
  div.principal-contenedor {
    padding-bottom: 0;
  }
  aside.imgf {
    width:  80%;
    margin: auto;
    float: none;
    height: 100%;
  }
  aside.imgf div.widget{
    margin: auto;
    padding-top: 5%;
  }
  aside.imgf img {
    height: 100%;
  }
  footer {
    width: 100%;
    max-width: 100%;
    height: 100%;
  }
}

@media only screen and (min-width:361px) and (max-width:640px) {
  div.container {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 50% 20% 30%;/*230px*/
   width: 100%;
   height: 100%;
   text-align: center;
  }
  div.container p {
    width: 80%;
    margin: auto;
  }
  div.principal-contenedor {
    padding-bottom: 0;
  }
  div.container b {
    margin: auto;
    width: 30%;
  }
  div.container .itemm p {
    padding-top: 1%;
    width: 80%;
    float: none;
    margin: auto;
  }
  .pcaja {
    display: none;
  }
  .ubicacion {
    grid-template-rows: 28% 72%;
    width: 100%;
    height: 100%;
    max-width: 100%;
  }
  .ubicacion  div.widget {
    width: 38%;
    margin: auto ;
  }
  .ubicacion h2 {
    width: 100%;
    text-align: center;
    margin-bottom: 0.5%;
    height: 65%;
  }
  .ubicacion article {
    width: 100%;/*340px*/
    margin: auto;
    background-color: #2C4EA3;
    height: 100%;
  }
  aside.imgf {
    width:  100%;
    margin: auto;
    float: none;
    height: 100%;
    padding-top: 3%;
  }
  aside.imgf div.widget{
    margin: auto;
    height: 100%;
  }
  aside.imgf figure {
    height: 100%;
  }
  aside.imgf img {
    height: 85%;
  }
  footer {
    width: 100%;
    max-width: 100%;
    height: 100%;
  }
}

@media only screen and (min-width:768px) and (max-width:1024px) {
  .ubicacion div.container {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 45% 25% 25%;/*230px*/
   width: 100%;
   height: 400px;
   text-align: center;
   margin-top: 0;
  }
  .ubicacion {
    height: 100%;
    width: 100%;
  }
  .ubicacion h2 {
    width: 85%;
    text-align: center;
    height: 60%;
  }
  div.container p {
    width: 80%;
    margin: auto;
  }
  .ubicacion div {
    margin-top: 2%;
  }
  div.container article {
    height:100%;
  }
  div.container .itemm p {
    float: none;
    width: 70%;
    padding-top: 4%;
  }
  .pcaja {
    display: none;
  }
  .ubicacion article {
    width: 100%;/*340px*/
    margin: 0;
    background-color: #2C4EA3;
  }
  aside.imgf {
    width:  80%;
    height: 100%;
    margin: auto;
    float: none;
  }
  aside.imgf div.widget{
    margin: auto;
    height: 100%;
  }
  .container h4 {
    margin: 20px 0px 10px 15px;
    width: 80%;
  }
  footer {
    width: 100%;
    max-width: 100%;
    height: 100%;
  }
}

@media only screen and (min-width:1025px) and (max-width:1364px) {
  footer {
    width: 100%;
    max-width: 100%;
  }
  div.ubicacion {
    width: 100%;
    height: 100%;
  }
  div.ubicacion h2 {
    width: 80%;
  }
  div.container {
    grid-template-rows: 100%;
    width: 100%;
    max-width: 100%;
    height: 100%;
  }
  .pcaja {
    display: none;
  }
  div.container p {
    width: 100%;
  }
  div.container .itemm p {
    width: 95%;
    padding-top: 35%;
  }
  .cajas {
    display: grid;
    grid-template-columns: 14% 44% 42%;
    width: 100%;
    height: 120px;
    column-gap: 0;
    margin: 0 ;
  }
  article.item-1 {
    width: 100%;
  }
  article.item-2 {
    width: 100%;
  }
  article.item-3 {
    width: 100%;
  }
  article.item-3 div {
    width: 100%;
  }
  article.item-2 img {
    margin: 0;
    width: 95%;
    height: 85%;
    padding-top: 3%;
    padding-right: 0;
    padding-left: 2%;
  }
  article.item-1 img {
    width: 100%;
    height: 85%;
    padding-right: 0;
    padding-top: 5%;
  }
  article.item-3 img {
    width: 100%;
    height: 90%;
    padding-right: 3%;
    padding-left: 0;
    padding-top: 4%;
  }
  aside.imgf {
    width: 80%;
    margin: auto;
  }
  aside.imgf img {
    margin-top: 25%;
  }
  aside.imgf div.widget {
    width: 100%;
    margin: auto;
  }
  aside.imgf div figure {
    margin: auto;
  }
}

/*page-normas-marco legal-vision*/
.normas {
  width: 80%;
  margin: auto;
  padding-bottom: 5%;
}
.normas h1 {
  color: #2D4C9E;
}
.normas p {
  text-align: justify;
  font-weight: normal;
  width: 1082.4px;
  margin-left: auto;
  margin-right: auto;
}
/*responsive normas*/
@media only screen and (max-width:1024px) {
  .normas p {
    width: 100%;
  }
}
.marco {
  width: 80%;
  margin: auto;
  padding-bottom: 5%;
}
.marco h1 {
  color: #2D4C9E;
}
.marco p{
  font-weight: normal;
  line-height: 30px;
  width: 1082.4px;
  margin: auto;
  padding-bottom: 30px;
}
.mar {
  display: grid;
  grid-template-columns: 80% 20%;
  width: 35%;
  margin: auto;
}

.marco img {
  width: 100%;
  height: 70%;
  margin: auto;
  padding-top: 8%;
}
.marco a {
  text-decoration: none;
}
@media only screen and (max-width:360px) {
  .marco p {
    width: 100%;
  }
  .mar {
    display: grid;
    grid-template-columns: 70% 30%;
    width: 100%;
    height: 50%;
    margin-bottom: 5%;
  }
  .marco h1 {
    width: 90%;
    margin: 0;
    padding-left: 25%;
  }
  .mar img {
    width: 80%;
    margin: auto;
    padding-right: 15%;
    padding-top: 20%;
  }
  .mar div {
    width: 100%;
    margin: auto;
  }
}

/**/
@media only screen and (min-width:361px) and (max-width:640px) {
  .marco p {
    width: 100%;
  }
  .mar {
    display: grid;
    grid-template-columns: 70% 30%;
    width: 90%;
    height: 50%;
    margin-bottom: 5%;
  }
  .marco h1 {
    width: 100%;
    margin: 0;
    
    padding-top: 15%;
  }
  .mar img {
    width: 80%;
    margin: auto;
    padding-right: 15%;
    padding-top: 20%;
  }
  .mar div {
    width: 100%;
    margin: auto;
  }
}

/**/


@media only screen and (min-width:641px) and (max-width:768px) {
  .marco p {
    width: 100%;
  }
  .mar {
    display: grid;
    grid-template-columns: 70% 30%;
    width: 100%;
    height: 50%;
    margin-bottom: 5%;
  }
  .marco h1 {
    width: 100%;
    margin: 0;
    padding-left: 15%;
    padding-top: 15%;
  }
  .mar img {
    width: 70%;
    margin: auto;
    padding-right: 15%;
    padding-top: 20%;
  }
  .mar div {
    width: 100%;
    margin: auto;
  }
}
@media only screen and (min-width:769px) and (max-width:1024px) {
  .marco p {
    width: 100%;
  }
  .mar {
    display: grid;
    grid-template-columns: 70% 30%;
    width: 90%;
    height: 50%;
    margin-bottom: 5%;
  }
  .marco h1 {
    width: 100%;
    margin: 0;
    padding-left: 45%;
    padding-top: 15%;
  }
  .mar img {
    width: 50%;
    margin: auto;
    padding-right: 15%;
    padding-top: 25%;
  }
  .mar div {
    width: 100%;
    margin: auto;
  }
}
.vision {
  width: 80%;
  margin: 50px auto 50px auto ;
}
.vision .mi h1 {
  color: #2D4C9E;
  margin: 0;
  width: 150px;
  padding-top: 30px;
 /* padding-left: 30px;*/
}
.vision .vi h1 {
  color: #2D4C9E;
  margin: 0;
  width: 150px;
  padding-top: 30px;
  /*padding-left: 20px;*/
}
.vision h4 {
  text-align: justify;
  font-weight: bold;
  padding-top: 40px;
  padding-bottom: 40px;
  width: 1082.4px;
  margin: auto;
}
 .mi {
  display: grid;
  grid-template-columns:repeat(2, minmax(max-content,50%));
  width: 420px;
  margin: auto;
}
.vi {
  display: grid;
  grid-template-columns:repeat(2, minmax(max-content,50%));
  width: 420px;
  margin: auto;
}
.vision .vi img {
  float: right;
}
/*responsive vision*/
@media only screen and (max-width:1024px) {
  .vision .vi {
    width: 100%;
  }
  .vision .mi {
    width: 90%;
  }
  .vi img{
    margin: auto;
  }
  .vision h4 {
    width: 90%;
  }
  .vision .vi h1 {
   /* width: 40%;*/
    float: left;
    padding-top: 15%;
  }
  .vision .mi h1 {
    float: right;
    width: 180px;
  }
}

/*filatelia*/
.filatelia {
  width: 80%;
  margin: auto;
  padding-bottom: 5%;
}
.filatelia h1 {
  color: #2D4C9E;
}
.filatelia p {
  width: 1082.4px;
  margin-left: auto;
  margin-right: auto;
}
/*Filatelia responsive*/
@media only screen and (max-width:1024px) {
  .filatelia p {
    width: 100%;
  }
  .filatelia h3 {
    width: 100%;
  }
}

/*acerca de correos*/
.acerca {
  width: 80%;
  margin: auto;
}
.acerca h1 {
  color: #2D4C9E;
  margin-bottom: 70px;
}
.acerca h3 {
  padding-bottom: 30px;
  width: 1082.4px;
  margin: auto;
}
.acerca h4 {
  text-align: justify;
  font-weight: normal;
  line-height: 30px;
  width: 1082.4px;
  margin: auto;
  padding-bottom: 30px;
}
.acerca h4 p {
  margin-bottom: 40px;
  margin-top: 50px;
}
.acerca strong {
  font-weight: bold;
}
/*Acerca responsive*/ 
@media only screen and (max-width:768px) {
  .acerca h3 {
    width: 90%;
  }
  .acerca h4 {
    width: 80%;
  }
}

/*sellos postales*/
.sellos {
  width: 80%;
  margin: auto;
  max-width: 1353px;
  padding-bottom: 5%;
}
.sellos h1 {
  color: #2D4C9E;
  margin-bottom: 70px;
}
.sellos h3 {
  width: 1082.4px;
  margin: auto;
}
.sellos p {
  width: 1082.4px;
  margin-left: auto;
  margin-right: auto;
}
.sellos h4 {
  text-align: justify;
  font-weight: normal;
  line-height: 30px;
  width: 1082.4px;
  margin-left: auto;
  margin-right: auto;
}
.sellos strong {
  font-weight: bold;
}
.sellos section {
  margin: auto;
  width: 70%;
}
.sellos section img {
  width: 80%;
  margin: auto;
}
@media only screen and (max-width:1024px) {
  .sellos h4 {
    width: 100%;
  }
  .sellos h3 {
    width: 90%;
  }
  .sellos p {
    width: 100%;
  }
}

/*codigos postales*/
.codpostal {
  width: 80%;
  margin: auto;
  max-width: 1353px;
  padding-bottom: 5%;
}

.codpostal p {
  width: 1082.4px;
  margin-left: auto;
  margin-right: auto;
}

/*Responsive codigo postal*/
@media only screen and (max-width:1024px) {
  .codpostal h2 {
    width: 100%;
  }
  .codpostal p {
    width: 90%;
  }
}
.public {
  display: grid;
  grid-template-columns: repeat(2,minmax(min-content,50%));
  width: 80%;
  margin: 0px auto auto auto;
}
.public h3 {
  font-weight: bold;
}
.public h5 {
  font-weight: normal;
}

/*Oficinas*/
.oficinas {
  display: grid;
  grid-template-columns: minmax(min-content,100%);
  width: 100%;
  margin: auto;
  max-width: 1353px;
}
.oficinas h2 {
  width: 90%;
}

/*OAIP*/
.oaip {
  width: 80%;
  margin: auto;
}
.oaip h1 {
  color: #2D4C9E;
  margin: auto;
  padding-bottom: 40px;
  padding-top: 40px;
}

.oaip p {
  text-align: justify;
  font-weight: normal;
  line-height: 30px;
  width: 1082.4px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1353px;
} 
.oaip h4 {
  text-align: justify;
}
.oaip1 {
  display: grid;
  grid-template-columns: 70% 30%;
  width: 30%;
  margin: auto;
}
.oaip1 h3 {
  padding-left: 45%;
  padding-top: 20%;
}
.oaip2 {
  display: grid;
  grid-template-columns: 20% 80% ;
  width: 40%;
  margin: auto;
  height: 65%;
}
.oaip2 img {
  height: 90%;
}
.oaip2 h3 {
  padding-top: 10%;
}
.oaip3 {
  display: grid;
  grid-template-columns: 75% 25%;
  width: 35%;
  margin: auto;
}
.oaip1 img,
.oaip2 img,
.oaip3 img {
  width: 90%;
  height: 90%;
  padding-top: 22%;
  padding-right: 8%;
}
.oaip3 h3 {
  padding-left: 35%;
  padding-top: 10%;
}
.oaip h4 {
  width: 1082.4px;
  margin-right: auto;
  margin-left: auto;
}
.docoaip {
  width: 80%;
  margin: auto;
  padding-bottom: 8%;
  max-width: 1353px;
}
.docoaip h1 {
  color: #2D4C9E;
}
.docoaip p {
  text-align: justify;
  font-weight: normal;
  line-height: 30px;
  margin-right: auto;
  margin-left: auto;
  width: 1082.4px;
}
@media only screen and (max-width:360px) {
  .oaip p {
    width: 90%;
  }
  .oaip h4 {
    width: 90%;
  }
  .docoaip p {
    width: 100%;
  }
  .oaip img {
    height: 80%;
  }
  .oaip1,
  .oaip2 {
    width: 80%;
  }
  .oaip2 {
    grid-template-columns: 30% 70%;
  }
  .oaip3 {
    display: grid;
    grid-template-columns: 70% 30%;
    width: 90%;
    height: 50%;
    margin-bottom: 5%;
  }
  .oaip3 h3 {
    width: 100%;
    margin-top: 15%;
    padding: 0%;
  }
  .oaip3 img {
    width: 80%;
    margin: auto;
    padding-right: 15%;
    padding-top: 15%;
  }
  .oaip3 div {
    width: 100%;
    margin: auto;
  }
}

@media only screen and (min-width:361px) and (max-width:640px) {
  .oaip p {
    width: 90%;
  }
  .oaip h4 {
    width: 90%;
  }
  .docoaip p {
    width: 100%;
  }
  .oaip img {
    height: 65%;
  }
  .oaip1, 
  .oaip2 {
    width: 70%;
  }
  .oaip2 {
    grid-template-columns: 30% 70%;
  }
  .oaip2 h3 {
    padding-left: 15%;
    padding-top: 15%;
  }
  .oaip3 {
    display: grid;
    grid-template-columns: 70% 30%;
    width: 80%;
    height: 50%;
    margin-bottom: 5%;
  }
  .oaip3 h3 {
    width: 100%;
    margin: 0;
    padding-left: 35%;
    padding-top: 15%;
  }
  .oaip3 img {
    width: 70%;
    margin: auto;
    padding-right: 15%;
    padding-top: 20%;
  }
  .oaip3 div {
    width: 100%;
    margin: auto;
  }
}

@media only screen and (min-width:641px) and (max-width:768px) {
  .oaip p {
    width: 90%;
  }
  .oaip h4 {
    width: 90%;
  }
  .docoaip p {
    width: 100%;
  }
  .oaip img {
    height: 80%;
  }
  .oaip1,
  .oaip2 {
    width: 55%;
  }
  .oaip2 {
    grid-template-columns: 30% 70%;
  }
  .oaip2 h3 {
    padding-top: 15%;
  }
  .oaip3 {
    width: 50%;
  }
  .oaip3 h3 {
    width: 100%;
    margin: 0;
    padding-left: 25%;
    padding-top: 15%;
  }
  .oaip3 img {
    width: 90%;
    margin: auto;
    padding-right: 15%;
    padding-top: 20%;
  }
  .oaip3 div {
    width: 100%;
    margin: auto;
  }
}
@media only screen and (min-width:769px) and (max-width:1024px) {
  .oaip p {
    width: 90%;
  }
  .oaip h4 {
    width: 90%;
  }
  .docoaip p {
    width: 100%;
  }
  .oaip img {
    height: 80%;
  }
  .oaip1, 
  .oaip2 {
    width: 45%;
  }
  .oaip2 {
    grid-template-columns: 35% 65%;
  }
  .oaip2 h3 {
    padding-top: 25%;
    padding-left: 15%;
  }
  .oaip3 {
    width: 50%;
  }
  .oaip3 h3 {
    width: 100%;
    margin: 0;
    padding-left: 35%;
    padding-top: 15%;
  }
  .oaip3 img {
    width: 90%;
    margin: auto;
    padding-right: 15%;
    padding-top: 20%;
  }
  .oaip3 div {
    width: 100%;
    margin: auto;
  }
}

/*Servicios Coutier*/
.sercou {
  width: 80%;
  margin: auto;
  padding-top: 3%;
  position: relative;
  max-width: 1353px;
  padding-bottom: 5%;
}
.sercou h1 {
  color: #2D4C9E;
}
.sercou p {
  margin-left: auto;
  margin-right: auto;
  width: 1082.4px;
}
.sercou li {
  margin-left: auto;
  margin-right: auto;
  width: 1082.4px;  
}
.imgd {
  height: 400px;
}
.imgdes {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: 80%;
  max-width: 1349px;
  text-align: center;
  margin: auto;
  display: table;
  position: relative;
}
.imgdes::after {
  position: absolute;
  content: '';
  top:0;
  left:0;
  width: 100%;
  height: 100%;
}
.imgdes br {
  display: table-cell;
  vertical-align: middle;
  color: #ffffff;
  position: relative;
  width: 100vw;
  z-index: 2;
}
/*responsive*/
@media only screen and (max-width:400px) {
  .imgd div.imgdes {
    height: 78%;
  }
  .imgd {
    height: 120px;
  }
  .sercou p {
    width: 100%;
  }
  .sercou li {
    width: 90%;
  }
}
@media only screen and (min-width:410px) and (max-width:414px) {
  div.imgdes {
    height: 75%;
  }
  .imgd {
    height: 160px;
  }
  .sercou p {
    width: 100%;
  }
  .sercou li {
    width: 90%;
  }
}
@media only screen and (min-width:415px) and (max-width:729px) {
  div.imgdes {
    height: 85%;
  }
  .imgd {
    height: 180px;
  }
  .sercou p {
    width: 100%;
  }
  .sercou li {
    width: 90%;
  }
}
@media only screen and (min-width:730px) and (max-width:1024px) {
  div.imgdes {
    height: 98%;
  }
  div.imgd {
    height: 228px;
  }
  .sercou p {
    width: 100%;
  }
  .sercou li {
    width: 90%;
  }
}

/*Servicios Postales*/
.serpos {
  width: 80%;
  margin: auto;
  max-width: 1353px;
  padding-bottom: 5%;
}
.serpos h1 {
  color: #2D4C9E;
  margin-bottom: 40px;
}
.serpos p {
  font-weight: normal;
  margin-left: auto;
  margin-right: auto;
  width: 1082.4px;
}
.serpos img {
  padding-top: 3%;
}
.rotsob {
  width: 80%;
  max-width: 1353px;
  margin: 60px auto 60px auto;
}
.rotsob h1 {
  color: #2D4C9E;
}
.rotsob h4 {
  font-weight: normal;
  width: 1082.4px;
  margin-left: auto;
  margin-right: auto;
}
.rotsob h4 p {
  font-weight: bold;
  width: 1082.4px;
  margin-left: auto;
  margin-right: auto;
}

@media only screen and (max-width:1024px) {
  .rotsob h4 {
    width: 100%;
  }
  .rotsob img {
    width: 95%;
    margin: auto;
  }
  .serpos p{
    width: 90%;
  }
  
}
.containerf {
  position: relative;
  overflow: hidden;
  width: 90%;
  margin-right: auto;
  margin-left: auto;
  max-width: 1353px;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 90%;
  height: 90%;
  margin: auto;
}

/*Video*/
.video {
  position: relative;
  padding-bottom: 56.25%;
  width: 70%;
  height: 340px;
  max-width: 1353px;
  margin: 6% auto auto auto;
}
.iframeyoutube {
  position: absolute;
  top: 0;
  left: 0;
  width: 95%;
  height: 90%;
}
.videopro {
  display: grid;
  grid-template-columns: 80%;
  grid-template-rows: 500px;
  margin: auto;
  max-width: 1353px;
  width: 80%;
  height: 100%;
}
.videop {
  width: 65%;
  height: 63%;
  margin: auto;
}
@media only screen and (max-width:1023px) {
  .video {
    width: 90%;
    height: 50%;
  }
  .videopro {
    display: grid;
    grid-template-columns: 95%;
    grid-template-rows: 600px;
    margin: auto;
    max-width: 1353px;
    width: 95%;
    height: 100%;
  }
  .videop {
    width: 100%;
    height: 50%;
    margin: auto;
  }
}
@media only screen and (max-width:1366px) {
  .videopro {
    display: grid;
    grid-template-columns: 98%;
    grid-template-rows: 600px;
    margin: auto;
    max-width: 1353px;
    width: 98%;
    height: 100%;
  }
  .videop {
    width: 50%;
    height: 50%;
    margin: auto;
  }
}
div.cal {
  width: 80%;
  margin: auto;
}
div.cal figure {
  width: 50%;
  margin: auto;
}
div.cal img {
  width: 70%;
  height: 70%;
}

/*MIPYMES*/
.mipymes {
  display: grid;
  grid-template-columns: repeat(2,50%);
  grid-template-rows: repeat(2,50%);
  width: 80%;
  margin: auto;
  column-gap: 32px;
  row-gap: 32px;
  margin-bottom: 10%;
}
.mipymes img {
  width: 100%;
  height: 100%;
} 

/*EMisiones postales*/
.emisiones {
  width: 80%;
  margin: auto;
  margin-bottom: 5%;
  max-width: 1353px;
}
.emisiones h1 {
  color: #2C4EA3;
}
.emisiones a{
  text-decoration: none;
  color: black;
}
.emisiones a:hover {
  color: #2C4EA3;
}

/*Preguntas-frecuentes*/
.accordion {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
}
.accordion .a-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-bottom: 5px;
  
}
.accordion .a-btn {
  margin: auto;
  margin-bottom: 5%;
  position: relative;
  padding: 15px 30px;
  width: 100%;
  height: 100%;
  max-width: 1353px;
  color: white;
  font-weight: 400;
  font-size: 24px;
  display: block;
  background-color: #2C4EA3;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  border-radius: 5px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2),0 10px 10px -5px;
}
.accordion span {
  display: block;
  position: absolute;
  height: 14px;
  width: 14px;
  right: 20px;
  top: 18px;
}
.accordion span ::before{
  transform: rotate(0deg);
}
.accordion ::after {
  content: '';
  width: 14px;
  border-radius: 2px;
  background-color: white;
  position: absolute;
  top: 6px;
}
.accordion ::before {
  content: '';
  width: 14px;
  height: 3px;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  transform: rotate(90deg);
  transition: all 0.3s ease-in-out;
}
.accordion .a-container .a-panel {
  width: 66%;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  opacity: 0;
  height: auto;
  margin: auto;
  max-width: 1353px;
  max-height: 0;
  overflow: hidden;
  padding: 0px 10px;
}
.accordion .a-container img {
  margin: auto;
  max-width: 1353px;
  width: 100%;
}
.accordion .a-container.active .abtn {
  color: #3e8e41;
}
/*Cuando el panel este activo*/
.accordion .a-container.active .a-panel {
  padding: 15px 10px 10px 10px;
  opacity: 1;
  height: auto;
  max-height: 1000px;
}
/*accordion responsive*/
@media only screen and (max-width:1024px) {
  .accordion .a-container .a-panel {
    width: 100%;
  }
  .accordion img {
    width: 100%;
  }
}

/*.artboard {
  display: flex;
  flex-flow: row;
	align-items: center;
	justify-content: center;
  width: 240px;
	height: 210px;
	position: relative;
  max-width: 1353px;
  margin: auto;
}

@media (max-width: 37.5em) {
  .artboard {
    padding: 1rem;
 }
}

.card {
  flex: initial;
  position: relative;
  height:100%;
  width: 100%;
 
  -moz-perspective: 200rem;
  perspective: 200rem;
  margin: 2rem;
}
.card__side {
  height: 90%;
  transition: all 0.8s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-backface-visibility: hidden;
 /* We don't want to see the back part of the element. */
  /*backface-visibility: hidden;
 /* We don't want to see the back part of the element. */
 /* border-radius: 3px;
 /* overflow: hidden;
 /* The image is overflowing the parent. */
 /* box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.15);
}
.card__side--back {
  background-color: #2C4EA3;
}
.card__side--front {
  background-color: #fff;
  transform: rotateY(180deg);
}
.card:hover .card__side--front {
  transform: rotateY(0);
}
.card:hover .card__side--back {
  transform: rotateY(-180deg);
}

.card__theme-box {
  color: #fff;
  margin-bottom: 8rem;
}

.card__title {
  font-family: "VT323", monospace;
  text-transform: uppercase;
  font-size: 6rem;
  font-weight: 100;
}
.card__theme {
  left: 50%;
}
.card__details {
  padding: 4rem 2rem;
  margin-left: 5%;
  position: absolute;
  top: 40%;
  left: 45%;
  transform: translate(-50%, -50%);
  width: 90%;
  text-align: center;
}
.card__details h2 {
  color: white;
  margin-top: 20%;
}

.card__details ul li:not(:last-child) {
  border-bottom: 1px solid #eee;
}
@media only screen and (max-width: 37.5em), only screen and (hover: none) {
  .card {
    height: auto;
    border-radius: 3px;
    background-color: #fff;
    box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.15);
 }
  .card__side {
    height: auto;
    position: relative;
    box-shadow: none;
 }
  .card__side--front {
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
 }
  .card__side--back {
    transform: rotateY(0);
 }
  .card:hover .card__side--front {
    transform: rotateY(0);
 }
  .card__details {
    padding: 3rem 2rem;
 }
  .card__theme {
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0);
    width: 100%;
    padding: 5rem 4rem 1.5rem 4rem;
    text-align: right;
 }
  .card__theme-box {
    margin-bottom: 1.5rem;
 }
  .card__title {
    font-size: 4rem;
 }
}
.card img {
  width: 100%;
  height: 380px;
}

@media only screen and (max-width:1024px) {
  .card,
  .artboard{
    display: none;
  }
}