/* 
SMALL            ----  XS -- @media (max-width: 480px) 344px galaxy z fold 5
M & Large        ---- (max-width: 576px) @media (min-width: 576px) and (max-width: 767px) 
Landscape        ----
*/
/************************** Smartphones ************************/

@media (min-width: 344px) and (max-width: 767px) {

  ::selection {
    background: #000;
    color: #fff;
    text-shadow: 0 0 5px #666;
  }

  *,
  *:before,
  *:after {
    box-sizing: border-box;
  }

  /*****************       MAIN           ***************/

  html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    position: absolute;
    /*
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    /*-ms-overflow-style: scrollbar;*/
    -webkit-tap-highlight-color: transparent;
  }

  body {
    background: #f5f5f5;
    width: 100%;
    height: 100%;
    position: absolute;
    margin: 0;
    padding: 0;

    overflow: auto;
    overflow-x: hidden;
    overflow-y: scroll;
    scroll-behavior: smooth;

    /*font-family: 'Varela Round', sans-serif;*/
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-rendering: optimizeLegibility;

    z-index: 1000;

  }

  /***************HEADER *************/

  header {
    width: 100%;
    height: inherit;
    margin: 0;
    padding: 0;
    z-index: 9000;

  }

  /*****    topbar :: Header    *****/

  .TopBar {
    width: 100%;
    height: 150px;
 
    border-top: 5px solid;
    border-image: linear-gradient(90deg, #007cf0, #00dfd8) 1;
    animation: animarBorde 5s linear infinite;

    position: relative;
    text-align: center;
    padding: 1em 0.2em;
    display: flex;
    align-items: stretch;
    justify-content: space-around;

    z-index: 9000;
  }


  @keyframes animarBorde {
    0% {
      border-image-source: linear-gradient(90deg, #007cf0, #00d8df);
    }

    50% {
      border-image-source: linear-gradient(90deg, #00d8df, #007cf0);
    }

    100% {
      border-image-source: linear-gradient(90deg, #007cf0, #00d8df);
    }
  }

  /********* :: MenuButton :: *******/

  .MenuTrigger {
    width: 52px;
    height: 52px;
    line-height: 58px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;

  }

  .OpenButton {
    width: 52px;
    height: 52px;
    line-height: 52px;
    margin: 0;
    padding: 0;
  }

  i.fa-bars {
    color: rgba(220, 225, 230, 0.568);
    text-shadow: 1px 1px 2px rgb(0, 132, 255);

    font-size: 1.5em;
  }

  /********* :: LOGO ::*********/

  .imgLogo {
    width: 150px;
    height: 150px;
  }

  /********* :: MenuNavigation :: *********/

  .menu {
    display: none;
  }

  /* :: DISPLAY OVERLAY :: INSTEAD  :: */

  /********* :: ContactButton :: *********/


  .ComsButton {
    width: 52px;
    height: 52px;
    line-height: 46px;
    padding: 0;
    text-align: center;
    border: none;
    border-radius: 50%;
    color: rgba(220, 225, 230, 0.568);
    text-shadow: 1px 1px 2px rgb(0, 132, 255);
    font-size: 1.5em;
  }
 

  /********* START :: Smartphone :: Overlay      ********************************************/

  #Overlay {
    height: 0%;
    width: 0%;
    position: absolute;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;

  }

  .MenuOverlay {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    color: rgba(220, 225, 230, 0.568);
    text-shadow: -1px 1px 5px rgb(0, 132, 255);
    background: #1e5799;
    border-top: 5px solid;
    border-image: linear-gradient(90deg, #007cf0, #00dfd8) 1;
    animation: animarBorde 5s linear infinite;

    overflow-y: hidden;
    transition: height 5s;
    -webkit-transition: height 1s;
    /* Safari 3.1 to 6.0 */
    z-index: 1;
    text-align: center;
  }

  .TopBarOverlay {
    width: 100%;
    height: 50px;
    position: relative;
    top: 0;
    left: 0;
    display: inline-block;

  }

  /*
  .TopCenter2 {
    width: 80%;
    height: 16vh;
    top: 0;
    left: 0;
    position: relative;
    margin: 0 auto;
    padding: 0;
  }

  .imgLogo2 {
    width: 70%;
    max-width: 250px;
    height: 100%;
    max-height: 150px;
    margin: auto;
    padding: 0;
    position: relative;
    vertical-align: middle;
    text-align: center;
  }
*/
  .TopRight2 {
    width: 30px;
    height: 30px;

    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    right: 0;
  }


  .CloseButton {
    line-height: 50px;
    font-size: 1.8em;
    font-weight: 200;
    right: 1rem;
    top: 1rem;
    position: absolute;
    padding: 0;
  }


  .MenuOverlayContainer {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
  }

  .OverlayNav {
    width: 60%;
    height: auto;
    margin: 3rem auto 1rem;
    padding: 0;
    position: relative;
  }

  .MiniNavigation {
    width: 100%;
    height: 6vh;
    line-height: 6vh;
    text-align: center;
    display: block;
    margin: 0 auto;
  }

  .OverlayNav a {
    font-size: 1em;
    line-height: 1em;
    margin: 0;
    padding: 0;
  }

  .OverlaySocialMediaIcons {
    width: 100%;
    height: 7.5vh;
    color: #39C3F9;
    font-size: 20px;
    bottom: 7.5vh;
    position: absolute;
  }


  .blueHR {
    margin: 0;
    clear: both;
    float: none;
    width: 80%;
    height: 1px;
    border: none;
    background: #7db9e8;
    left: 10%;
    bottom: 7.6vh;
    position: absolute;
  }


  .OverlayBottoms {
    width: 100%;
    height: 7.5vh;
    position: absolute;
    margin: 0;
    padding: 0;
    bottom: 0;
    line-height: 30px;
    color: #7db9e8;
    font-size: 9px;
    font-weight: 200;
    text-transform: uppercase;
  }

  .CopyrightOverlay {
    width: 40%;
    height: 30px;
    margin: 0 5px 0 0;
    padding: 0;
    line-height: 30px;
    letter-spacing: 0.05em;
  }

  .OverlayBottomsRight {
    width: auto;
    height: 30px;
    line-height: 30px;
    margin: 0 10% 0 0;
    padding: 0;
    position: relative;
    float: right;
  }

  .OverlayPolitics {
    letter-spacing: 0.05em;
  }


  /*****************************/

  .slideshow-container {
    width: 100%;
    height: 100vh;
    position: absolute;
    margin: 0;
    padding: 0;
    top: 0;
  }

  /******************* CONTAINERS **************/

  .wrappper {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    z-index: 2000;
    top: 0;
    position: relative;
  }


  /*************** CONTAINERS *******************/


  .container {
    width: 100%;
    height: inherit;
    background: inherit;
    margin: 0 auto;
    padding: 0;
  }


  .main {
    /*// flex: 1 0 auto;*/
    width: 100%;
    height: auto;
    margin: auto 0 0;
    padding: 0; 
  }

  .content {
    /* container ::  html - cook pol privacy termx only  */
    position: relative;
    width: 80%;
    height: auto;
    margin: 30px auto 150px;
    padding: 50px 0 150px;
    z-index: 4000;

  }

  .container-flex {
    background: transparent;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;

    display: flex;
    /* or inline-flex */
    flex-direction: column;
    align-items: flex-start;
  }


  .row {
    width: 100%;
    margin: 0;
    padding: 0;

    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;

    justify-content: center;
    text-align: center;

  }

  .Sin {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 50px 0; 
    display: grid;
    place-items: center;
  }

  /*************************  Sections :: 1 . 2 . 3 . 4  ***********/

  .section1 {
    /* AFTER :: SECTION 1  --> DESCRIPTION  */
    width: 100%;
    height: auto;
    margin: 0;
    padding: 100px 1rem;
    text-align: center;
    background: inherit;
    position: relative; 
  } 

  /**********************  :: SECTION 3 :: SINGLES   **********************/


  .section2 {
    /* GALLERY */
    width: 90%;
    height: auto;
    margin: 0 auto;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    background: #f5f5f5;
  }

  /**********************  :: SECTION 3 :: SINGLES   **********************/

  .section3 {
    /* SINGLE */
    width: 100%;
    min-height: 500px;
    height: auto;
    margin: 0;
    padding: 0;
    text-align: center;
    position: relative;

    background-image: url('/mx/img/bgs3.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top right;
  }

  .section3 button {
    width: 70%;
  }


  /******************************************/
/* ON MAIN.CSS */
  
  /* Etiquetas Secciones * /
  h2 {    font-size: 15px;    letter-spacing: 1px;
  }

  h3 {    font-size: 13px;  }

  h4 {    font-size: 11px;  }

  h5 {    font-size: 10px;  }

  h6 {    font-size: 9px;  }
*/

  .big {
    font-size: 1em;
  }

  .medium {
    font-size: 1em;
  }

  .SimpleText {
    /*  TEXT :: CONTAINER  */
    width: 80%;
    height: auto;
    padding: 0;
    margin: 15px auto; 
    display: grid;
    place-items: center;
  }


  .Subtext {
    width: 96%;
    height: auto;
    margin: 10px auto 20px;
    padding: 0;
    font-size: 1em;
    text-align: center;

    word-wrap: break-word;
    word-spacing: 1px;
    letter-spacing: 0.025em;

  }

  .Subtext2 {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    color: #536F87; 
    font-family: 'Varela Round', sans-serif;
    word-spacing: 1px;
    font-size: 1.5rem;
    font-weight: 200;
    text-align: center;

  }

  .Subtext3 {
    width: 100%; 
    margin: 30px auto;
    color: #1e032e; 
    font-family: 'Varela Round', sans-serif;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    
     word-spacing: normal;
  word-break: keep-all;
  word-wrap: normal;

  }

  .STitle {
    font-size: 2em;
    letter-spacing: 0.025em;
  }

  .SText {
    font-size: 1.9em;
    letter-spacing: 0.05em;
    font-weight: 100;
    width: 100%;
    margin: 0 auto;
  }

  .STextSmall {
    font-size: 1em;
    letter-spacing: 0.03em;
    padding: 0;
    font-weight: 300;
  }

  /*  TOP :: Slider ****************************************/

  .MaskCenter {
    top: 35%;
    padding: 0;
  }

  .MaskRight {
    padding: 30px 10% 0 0;
    text-align: right;
  }

  .MaskLeft {
    padding: 30px 0 0 10%;
    text-align: left;
  }

  .MaskLeft>.STextSmall {
    max-width: 278px;
  }

  h1.SliderText {
    margin: 0 auto;
    font-family: "Antonio", sans-serif;
    text-transform: uppercase;
    font-size: 2em;
    text-shadow: 3px 5px 5px #164b5e94;
  }

  h2.SliderText {
    margin: 0 auto;
    font-family: "Antonio", sans-serif;
    text-transform: uppercase;
    font-size: 1.2em;
  }

  h3.SliderText {
    width: auto;
    margin: 0 auto;
    font-family: "Antonio", sans-serif;
    text-transform: uppercase;
    font-size: 1em;
    font-weight: 100;

  }

  /*********** INTRO CARD *************  s11 **** */

  .introCard {
    min-width: 100%;
    margin: 0px auto;
    padding: 5em 0em;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .introCard h2 {
    width: auto;
    margin: 0px auto;
    font-size: 1.2em;
    
  }

  .introCard p {
    font-size: 1em;
    margin: 0px auto;
    padding: 0;
  }


  /**********************  START :: FLEX **********************/


  .BiGon {
    /* flex :: 2 a 1 :: 50% to 100%*/
    flex: 96%;
    min-width: 96%;
    margin: 0 auto;
    padding: 0;
  }

  .BiOx {
    /* flex :: 2 a 2 :: Reduce Bi  50% to 50% */
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }

  .TriGon {
    /* flex :: 3 a 1 :: 30 % to 100%%*/
    -ms-flex: 96%;
    flex: 96%;
    max-width: 96%;
  }

  .Triplex {
    /* flex :: 3 a 3 Reduce Tri  50% to 50%*/
    -ms-flex: 30%;
    flex: 30%;
    max-width: 30%;
    margin: 5px;
  }

  .Triplex img {
    margin-top: 10px;
  }

  .Square {
    /* flex :: 4 a 1 :: 25% to 100% */
    -ms-flex: 96%;
    flex: 96%;
    max-width: 96%;
  }

  .Tetra {
    /* flex :: 4 a 2 :: 25% to 50% */
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }

  .Tetra img {
    padding: 5px;
  }

  .TriIn {
    -ms-flex: 100%;
    flex: 100%;
    width: 100%;
    max-width: 320px;
    padding: 0;
    margin: 5px auto;
  }

  .TriIn ul {
    width: 90%;
    height: auto;
    margin: 5px 0;
  }

  /**********************  END :: FLEX **********************/

  .SingleForm {
    /* SINGLE FORM BACKGROUND*/

    background-image: url('../img/form.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
  }

  .aLeft {
    text-align: left;
    margin: 0 auto;
    padding: 0 -50px 0 50px;
  }

  .aRight {
    text-align: right;
    margin: 0 auto;
    padding: 0 50px 0 -50px;
  }

  /********************** SEECTION 1 :: INDEX::  SERVICES **********************/

  .Card {
    width: 100%;
    height: auto;
    padding: 0 0 70px;
    margin: 0;
    background: inherit;
  }

  .ImgBox {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    display: inline;
    text-align: center;
  }

  .CardBox {
    border-top: 1px solid #f1f1f1;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 50px 0;
  }

  p.CardText {
    width: 80%;
    margin: 0 auto;
    padding: 0;
    color: #536F87;
    font-weight: 100;
    font-family: sans-serif;
    line-height: 20px;
    word-wrap: break-word;
    word-spacing: 1px;
    letter-spacing: 0px;
  }

  .EventImg {
    width: 98%;
    height: auto;
    margin: 0 auto;
  }

  .StandImg {
    width: 100%;
    max-width: 500px;
    height: auto;
    max-height: 317px;
    margin: 20px auto;
  }

  .HostImg {
    width: 100%;
    height: auto;
  }

  .PromoImg {
    width: 80%;
    min-width: 300px;
    max-width: 480px;
    height: auto;
    min-height: 320px;
    max-height: 480px;
    margin: 0 0 0 5%;
  }

  .box p {
    text-align: center;
    margin: 0;
    padding: 5px 10px;
    color: #333;
    width: 100%;
    word-wrap: break-word;
    word-spacing: 1px;
    letter-spacing: 0.025em;
  }

  p.UsText {
    width: 80%;
    height: auto;
    margin: 0 auto 20px;
    padding: 0;
    text-align: center;

    word-wrap: break-word;
    word-spacing: 1px;
    letter-spacing: 0.025em;
  }


  /* 2 ::  NOSOTROS :: IMAGES */

  .PromoCard {
    width: 150px;
    height: 180px;
    flex: 45%;
    margin: 4px 4px;
  }

  .ImgPromo {
    width: 100px;
    height: 100px;
    text-align: center;
    margin: 0;
    padding: 0;
  }



  /* 6 ::  STANDS :: */

  .ImgConstruction {
    width: 100%;
    height: auto;
    padding: 50px 20px;
    border: none;
    background: #fff;
    border-radius: 50%;
  }



  /**********************  FOOTER ******************/
  .footer {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    font-family: 'helvetica neue', helvetica, arial, sans-serif;
    font-weight: 200;
    display: inline-block;
    text-align: center;

    background-image: url('/mx/img/bgComs.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
  }

  /**********************  COMMUNICATIONS   **********************/

  .coms {
    width: 100%;
    height: auto;
    margin: 50px 0 100px;
    padding: 1rem 2rem;
    text-align: center;
    margin-bottom: 0;
  }

  .coms ul li {
    width: 80%;
    margin: 0 auto;
    padding: 0;
  }

  .coms li {
    margin: 0;
    padding: 0;
    line-height: 40px;
    text-align: left;
  }

  .coms i {
    float: left;
    line-height: 40px;
    margin: 0;
    padding: 0;
  }

  /************* COMMS    **************/


  #coms h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .coms-container {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .coms-circle {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
  }

  .coms-circle img {
    width: 99%;
    height: 99%;
    object-fit: contain;
  }

  .info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    width: 100%;
  }

  .info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 8px;
    padding: 1rem;
  }

  .icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f7f4f479;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
  }

  .icon-circle .fa {
    line-height: 50px;
    font-size: 1.5em;
    color: rgb(0, 132, 255);
  }

  .icon-circle .fa:hover {
    color: #2e517af8;
  }

  .info-text {
    min-width: 300px;
    text-align: left;
    color: #2e517af8;

    font-size: 1.2em;
  }

  .info-text span {
    display: block;
  }

  .info-text strong {
    font-weight: bold;
    color: rgb(0, 132, 255);
  }

  /****** FOOTER :: BoTools = BACKtoTOP + NAVbottoms + WA *******/

  .tools {
    width: 100%;
    height: auto;
    margin: 0;
    display: flex;
    align-items: stretch;
  }

  .ChatButton i.fa {
    margin-right: 0;
  }

  #backToTop i {
    font-size: 1em;
  }

  .nav-footer {
    width: auto;
    height: auto;
    margin: 0 -30% 50px 30%;
  }

  .nav-footer a {
    display: block;
    line-height: 50px;
    text-align: left;
    margin-bottom: 1em;
  }

  .more-toggle {
    display: column;
  }

  .more-toggle {
    width: 50px;
    height: 50px;
    line-height: 50px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
  }

  .nav-bottoms {
    flex-direction: column;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
  }

  .nav-bottoms a {
    line-height: 50px;
  }

  .nav-bottoms.active {
    background: transparent;
    display: flex;
    flex-direction: column;
    line-height: 50px;
    max-height: 500px;
    opacity: 1;
    margin-top: 2em;
    text-align: center;
  }

  .nav-footer .fa {
    text-shadow: none;
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 50%;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1em;
    color: rgb(0, 132, 255);
    background-color: #fdfcfcfd;
    box-shadow: 0 4px 8px rgba(163, 163, 163, 0.2);
    transition: background-color 0.3s ease;
  }

  .nav-footer i {
    line-height: 50px;
  }


  /***************************************/



  video {
    display: none;
  }

  .wrapperContact {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: none;
  }

  .contactCard {
    width: auto;
    height: 100%;
    margin: 15rem 0 50px;
    padding: 0;
    position: relative;

  }

  .Bottoms {
    width: 98%;
    margin: 0 auto;
    flex-direction: column-reverse;
    position: relative;

  }

  .BottomsRight,
  .BottomsLeft {
    width: 100%;
    left: 0 !important;
    line-height: 50px;
    flex-direction: column;
    margin: 0;
  }

  .BottomsLeft {
    font-size: 0.75em;
  }

}