html,
body {
    height: 100%;
    width: 100%;
    font-family: Bariol;
}




html{
      overflow-y: scroll;
    overflow-x: hidden; 

}

.fullBody{
background:#fff !important;
    width:100%;
    height:100;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #4D4D4D;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}





@font-face {
    font-family: Bariol;
    src: url(fonts/Bariol.ttf);
}

@font-face {
    font-family: Bariol-light;
    src: url(fonts/Bariol_Light.otf);
}

@font-face {
    font-family: Bariol-bold;
    src: url(fonts/Bariol_Bold.otf);
}


.mxmedica-nav{
    background: #003F58 !important;
    height: 76px;
    font-weight:normal;
    width: 100%;
    border:none;
}



.thumbnail .caption h3{
    margin:0;
    font-family: Bariol !important;
    font-size:15px !important;
    text-shadow:none;
    font-weight:normal;
    color:rgba(88, 89, 91,1);
    height:50px;
    overflow:hidden;

}

@media only screen and
   (max-width: 1014px) 
   {





.info-foot{ 
    margin-top:40px !important;
    float: left;
}

.thumbnail .caption h3{
    font-size:15px !important;
}
          .nav > li {
            margin-top:-10px !important;
            margin-left: 0px !important;
            width:100%;
          }  
        .mxmedica-nav{
            position:absolute !important;
        }

        .navbar-brand span img{
            width:90%;
            margin-top:-5px;
        }
        
}

.div-certi-1{
    
    text-align:right
}

@media (max-width: 1024px) {


body,html{
         width: 100%;
         height: auto;
         overflow-x: hidden; 
         -webkit-overflow-scrolling: touch;
}
      

}
  

@media (max-width: 1023px) {
  .nav{
            position: absolute;
        }
}


.carousel-fade .carousel-inner .item {
  -webkit-transition-property: opacity;
          transition-property: opacity;
            z-index: 2;
}
.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  opacity: 0;
}
.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right { 
  opacity: 1;
}
.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}
.carousel-fade .carousel-control {
  z-index: 2;
}

@keyframes myanimation
{
    0% {
        -webkit-transform: scale(1);
    }
    
    100% {
        -webkit-transform: scale(1.1); 
    }
}


.item.active img{   
    
    animation: myanimation 10s;
}

.mobile-logo{
    visibility: hidden !important;
    display: none !important;
}

/* =================================================================== Nav bar mas responsivo ====================================================================================*/
@media (max-width: 1023px) {

.portada{
    z-index: 0 !important;
}

.header .header-nav ul#nav-account ul.dropdown-menu,
.header .header-nav ul#nav-library ul.dropdown-menu {
    position: relative;
    z-index: 10000;
}
html, body{
    background: none !important;
    background-color: none !important;
}

.nav{
    position: static !important;
}

    .navbar-inverse .container { 
          background: #003F58 !important;
     }


.cert-der{
    width:90%;
    margin-top:-4px;
}

    .navbar-header {
        float: none;
        border:none !important;
       
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 0px solid transparent;
        box-shadow:none;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: left; !important;
        margin: 7.5px -15px;
        z-index: 100 !important; 
    }
    .navbar-nav>li {
        float: none;
        width: 100%;
         z-index: 100 !important;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-text {
        float: none;
        margin: 15px 0;
    }
    /* since 3.1.0 */
    .navbar-collapse.collapse.in { 
        display: block!important;
    }
    .collapsing {
        overflow: hidden!important;
    }


.mobile-logo{
    position:absolute;
    top:25px;
    left:25px;
    width:200px;
}


      .navbar-nav{
        border:none;
        float: left;
        width: 100% !important;
        position:absolute;
        text-align:left;
        left:0;
        margin:0px;
    }

  .navbar-nav li{
       border:none !important;
        margin:0px;
        float: left;
        width: 100% !important;
        text-align:left;
    }
    .nav li a{

    } 

/* ============= Colores ====================*/


.nav li{
    
    margin-top:0px !important;
    border-bottom:2px solid #003F58 !important;
}

.nav li:hover{
   border-bottom:2px solid  #0F6593 !important;
}


.mobile-logo{
    visibility: initial !important;
    display: inline  !important;
}
.logo {
     display: none !important;
}


}/* =================================================================== Nav bar mas responsivo ====================================================================================*/






.nav li{
    padding-top:8px;
    margin-left:30px;
}

.nav li a{
    font-size:15pt !important;
    font-family:Bariol-light !important;
    color:#fff !important;
    padding-top:20px;
    height: 58px;
    background: #003F58 !important;
}

.logo img{
    margin-top:-12px;
}

.nav li a::before {
    border-top: 3px #FFFFFF solid !important;
}

    .carousel-inner > .item > img, .carousel-inner > .item > a > img {
        display: block; 
        height: 300px;
        min-width: 100%;
        width: 100%;
        max-width: 100%;
        line-height: 1;
      max-width: 100%;
      width: auto   9;
      height: auto;
      max-height        
      vertical-align: middle;
      border: 0;
      -ms-interpolation-mode: bicubic;
    }


.carousel-caption {
    background: rgba(0, 46, 70, 0.2);
    max-width: 100%;
    width:100%;
    left: 0;
    margin-bottom:-19px;
    padding-top:0px;
    padding-bottom:0px;
   text-align:left;
  }

  .right.carousel-control, .left.carousel-control , .carousel-indicators{
    display: none;
}

.carousel .carousel-control { visibility: hidden; }


.carousel-caption h4{ 
    font-family: Bariol-light !important;
    font-size:50px !important;
    text-shadow:none;
    font-weight:normal;
    color:#002e46;
}


.light{ 
    color:#fff !important;
}


P{
    font-family: Bariol !important;
    font-size:14pt !important;
    color:#464749 !important;
}

.seccion{
    margin-top:35px;
}

.titulo {
    background: #d4dce0;
    width:100%;
    margin-bottom:-19px;
    padding-top:0px;
    padding-bottom:0px;
    text-align:left;
    margin-left:0px;
  }


  .titulo h4{ 
    font-family: Bariol-light !important;
    font-size:50px !important;
    text-shadow:none;
    font-weight:normal;
    color:#002e46;
}


.titulo-gris {
    background: rgba(194, 194, 194,1);
    max-width: 100%;
    width:100%;
    left: 0;
    margin-bottom:-19px;
    padding-top:0px;
    padding-bottom:0px;
   text-align:center;
  }

  .titulo-gris h4{ 
    font-family: Bariol !important;
    font-size:30px !important;
    text-shadow:none;
    font-weight:normal;
    color:#fff;
}
h3{
    text-align:center;
    color:#002e46;
     font-family: Bariol !important

}



.thumbnail{
border:none;
}

.thumbnail .caption{
    background: #e4e4e4;
    padding-top:10px;
    bottom-top:15px;
    vertical-align: middle;
    word-break: break-all;
}


    img.full-image {
        display: block; 
        height: 300px;
        min-width: 100%;
        width: 100%;
        max-width: 100%;
        line-height: 1;
      max-width: 100%;
      width: auto   9;
      height: auto;
      max-height        
      vertical-align: middle;
      border: 0;
      -ms-interpolation-mode: bicubic;
    }





.form-control{
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}

.control-label{
font-weight:normal;
font-size:12pt;
font-family: Bariol
color:#464749 !important;

}

.login-link, .login-link:active, .login-link:hover{ 
font-weight:normal;
font-size:18pt;
font-family: Bariol;
 color:#002e46;;

cursor:pointer;
}

.btn-primary {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  background-color:#003F58;
}

 .google-maps {
        position: relative;
        padding-bottom: 75%; // This is the aspect ratio
        height: 500;
        overflow: hidden;
 }
.google-maps iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
}
.map-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}

.map-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}




li {
    display: block;
}

li:before {
    /*Using a Bootstrap glyphicon as the bullet point*/
    font-size: 9px;
    float: left;
    margin-top: 4px;
    margin-left: -17px;
    color: #CCCCCC;
}


.contacto-cont{
    height:312px;
    background:#fff;
    color:#4D4D4D;
    margin-top:0px !important;
    font-size:18px;
    font-family:Bariol;
    line-height:20px;
}




footer{
    background:#4D4D4D;
    color:#fff;
}

.c-text{
    display:block;
    height:46px;
    margin-top:20px;
    margin-left:10px;
}

.c-icon{
        float:right;
        text-align: right;
}

/*barra navegador */ 

 @media only screen and   (min-width:1024px) 
   {
.nav li:nth-child(1):hover, .nav li:nth-child(1).active{
    background-image: url('../images/nav/nosotros.png') !important;
    background-repeat: no-repeat;
    background-position: top; 
}


.nav li:nth-child(2):hover, .nav li:nth-child(2).active{
    background-image: url('../images/nav/productos.png') !important;
    background-repeat: no-repeat;
    background-position: top; 
}

.nav li:nth-child(3):hover, .nav li:nth-child(3).active{
    background-image: none !important;
    background-repeat: no-repeat;
    background-position: top; 
}

.nav li:nth-child(4):hover, .nav li:nth-child(4).active{
    background-image: url('../images/nav/venta.png') !important;
    background-repeat: no-repeat;
    background-position: top; 
}

.nav li:nth-child(5):hover, .nav li:nth-child(5).active{
    background-image: url('../images/nav/contacto.png') !important;
    background-repeat: no-repeat;
    background-position: top; 
}

}



.tit-venta{
    margin-top:-74px;
    z-index:100;
    position:absolute;
    background: rgba(0, 46, 70, 0.2);
    text-align:right;
    margin-left:15px;
   
    
}

.tit-venta div h4{
color:#fff;
    font-family:Bariol-light;
} 

.table th, .table td { 
     border-top: none !important; 
 }
    color:#59595B;
    font-size:32px !important;
    height:40px;
    padding-top:0;
}

table {
font-family:bariol !important;
}
table td{ 
padding:0px;
}

.table-xtra-condensed > thead > tr > th,
.table-xtra-condensed > tbody > tr > th,
.table-xtra-condensed > tfoot > tr > th,
.table-xtra-condensed > thead > tr > td,
.table-xtra-condensed > tbody > tr > td,
.table-xtra-condensed > tfoot > tr > td {
  padding: 0px;
}

table caption{
    background-color:#e4e4e4;
    text-align:center;
}


table caption{
    background-color:#e4e4e4;
    text-align:center;
    padding:0;
}

table {
font-family:bariol !important;
}

.img-producto{
    text-align:left;

}

.img-producto img{
float:left;
    margin-top:0px;
}

.titulo{
 margin-left:0px;
}



.link-contacto, .link-contacto:active,  .link-contacto:hover {

    color: #4D4D4D;
    margin-top: 0px !important;
    font-size: 18px;
    font-family: Bariol;
    line-height: 20px;
}

.titulo{
 margin-left:0px;
}

th{
text-align:center;
}


.contacto-tb{
margin-right:45px;
}

.contactanos{
margin-left:67px;
}

.contacto-tit{
    float:right;
    margin-right:84px;  
}


.tit-venta{
    margin-left:13px;
}

.tit-contacto{
         margin-left:0px;   

}

.titulo-gris{
margin-left:0px;
}


.catalogo-link{
    float:right;
    font-size:24px;
    margin-top:19px;
    color:#002E46;

}

.regresar{
    float:right;
    font-size:22px;
    margin-top:19px;
    color:#002E46;
    margin-bottom: 15px;
}



.fLogo{
    width:200px;
}


.social img{
    height:30px !important; 
    margin-left:12px;   

}



.fLogo{
    width:200px;
    margin-top:20px;
}


.social img{
    height:30px !important; 
    margin-left:12px;   

}

.vins * { font-size:15px !important } 





 .caption-r{
    color:#fff;
    font-size:14px;
        margin-right:0px;
        margin-top:10px;
        text-align:right;
    }


    .fLogo{
        width:160px;
        margin-top:20px;
    }


    .foot-left{
    border-right:2px #fff solid;
    text-align:right;
    }

    .info-foot{
        color:#fff !important;
        float:left;
        font-size:15px !important;
        margin-top:10px;
        text-align: left;
        
    }

    @media only screen and
   (max-width: 400px)  and (orientation: portrait){
  
    .foot-left{
    border-right:none;
    text-align:left;
    }

     .fLogo{
        width:160px;
        margin-top:20px;
    }

     .caption-r{
    color:#fff;
    font-size:14px;
        margin-right:0px;
        margin-top:10px;
        text-align:left;
    }
}
 

@media only screen and
(max-width:400px) 
{

.vins div p{
    text-align: left;
}

  #venta h4{
    font-size:30px !important;
    margin-top:30px;
    }

    .cert-der{
    width:90%;
    margin-top:-4px !important;
}
 
}

.border-certificaciones{
    border-right:2px black solid;
}

.nav, .nav * {
    border:none !important;
    z-index: 100 !important;
}

.cert-der{
    width:90%;
    margin-top:-12px;
}

.label{
    text-align:right !important;
}

.navbar .container{
      width:100% !important;
     
}



@media (max-width: 767px) {


.thumbnail .caption h3{
     
    height:50px !important;
    word-break: keep-all  !important;
    font-size:12px !important;

}

}



@media (min-width: 768px) {


    .navbar .navbar-nav {
        display: inline-block;
        float: none;    
        vertical-align: top;
    }

    .navbar .navbar-collapse {
        text-align: center;
    }
}

 
.caption h3{ 
    word-break: keep-all !important; 
}

.whatsap a img{
    height: 32px;
    margin-left: 5px;
    margin-top: -6px;
}

.whatsap{
    position: fixed;
  
    height: 64px;
    right: 0px;
    top: 90px;  
    z-index: 2000;
}
.whatsap a{
    float: right;
    margin-right: 10px;
}

