/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/*General*/
@font-face {
  font-family: 'Gill Sans MT Ext Condensed Bold';
  src: url('../fonts/gill-sans-mt-ext-condensed-bold.eot');
  src: url('../fonts/gill-sans-mt-ext-condensed-bold.eot?#iefix') format('embedded-opentype'),
       url('../fonts/gill-sans-mt-ext-condensed-bold.woff2') format('woff2'),
       url('../fonts/gill-sans-mt-ext-condensed-bold.woff') format('woff'),
       url('../fonts/gill-sans-mt-ext-condensed-bold.ttf')  format('truetype'),
       url('../fonts/gill-sans-mt-ext-condensed-bold.svg#Gill Sans MT Ext Condensed Bold') format('svg');
}

body {background: #E4EFCD; none repeat scroll 0% 0%;color: #000000;padding: 0px; margin: 0px;font: 18px/1.5em ;position: relative;cursor: auto;}
html{ margin: 0; padding: 0;}
.hover img:hover{-webkit-transform:scale(1.1);-moz-transform:scale(1.1);-o-transform:scale(1.1); z-index: 10;}
a { text-decoration:none; color: #19350D; font-weight: bold; }
a:hover{ color: #4EA329;}
h2{font-family:Gill Sans MT Ext Condensed Bold; font-size:5rem;}
.text-justify{ text-align: justify; }
.full-width{ width: 100%; }

/*Header*/
.bg-dark { background-color: rgba(161,199,83,1.0) !important;}
.navbar-dark .navbar-nav .nav-link {color: #19350D;}
.btn-primary {color: #fff;background-color: #6fd146;border-color: #6fd146;}
.btn-primary:hover {background-color: #4EA329;border-color: #6fd146;}
.dropdown-menu {background-color: #C8DF9B;border: 1px solid #6FD146;}


/*Inicio*/
.carousel-item{ height: 88vh; }
.capa{ background:transparent url(../img/home_carousel/backpattern.png) repeat top left;height: 100%;  }
.carousel-caption{ background-color: rgba(0, 0, 0, 0.5); padding: 0 10px 10px; margin:0 auto 20px; }
/*.carousel-caption h2{ font-size: 2em;}*/
.carousel-caption p{ font-size: 1.2em;}
.carousel-indicators .active{background-color: #6fd146; padding: 2px 0; }
#inicio .img-thumbnail{ padding: .10rem; }

.type_txt{font-family:Gill Sans MT Ext Condensed Bold;text-align:center;width: 80%; margin:auto;}
.slogan{font-size:72px;}
.slogan:before, .slogan:after{line-height:10px;vertical-align:middle;/*color: #6B6B6B;*/}
.slogan:before {content: "\201C";}
.slogan:after {content: "\201D";padding-top:10px;}
@media only screen and (max-width: 35em) {
  .slogan {font-size:18px; width: 100%; text-align: left;}
  .slogan:before, .slogan:after{font-size:50px;}
  .text-justify{text-align: left;}
}
.inicio{font-size:40px;  }

/*Productos*/
.productos h2{ /*text-transform: uppercase; */color: #6FD146; margin:0 auto 20px; background-color: #E4EFCD; line-height: 1.4;text-shadow: 1px 1px 2px #000000; }

.productos_list{ border: #19350D solid 2px; /*padding: 5px; */margin-bottom: 10px;height: 300px;overflow: hidden;  }
.productos_list img{  height: 350px; min-width: 300px; margin-left: -30px; }
/*.listado{ height: 250px; padding-bottom: 20px; }*/

.holder {width: 200px;height: 200px;padding: 0;margin: 0 auto;overflow: hidden;border: #cccccc solid 2px;}
.holder img {margin: -30px 0 0 -20px;padding: 0;vertical-align: middle;min-width: 220px;min-height: 230px;display: block;-webkit-filter: grayscale(50%);filter: grayscale(50%);}
.productos .modal img{margin:0 auto; border: #cccccc solid 2px; padding: 2px}
.productos .modal-header, .productos .modal-footer{ border: none; }
.modal-footer{ display: block; }
.productos li{ margin-bottom: 20px }

.subcat{ background-color: #19350D; color: #ffffff; font-size: 1.5em; }
.subcat h3{font-family:Gill Sans MT Ext Condensed Bold; font-size: 3em;text-decoration: underline;text-underline-offset: 0.35em; width: 100%;}

.productos .alert-secondary li{ margin-bottom: 5px; }
.productos .alert-secondary li a:link, .productos .alert-secondary li a:visited{ color:#19350D; }

.subitems {background-color: #E4EFCD; /*border-left: 6px solid  #4EA329;*/ }
.subitems ul{ margin:0; padding: 1rem auto;}
.subitems ul li{ margin:1rem auto;}
.dot,.dota {height: 10px;width: 10px;background-color: #4EA329;border-radius: 50%;display: inline-block;}
.dota{ background-color: #19350D;}

/*Sobre Nosotros*/
.fotos li{ width: 25%; }

/*Clientes*/
.clientes img{ width: 100%; }

/*Footer*/
.footer{ padding: 30px auto !important; color:#19350D; }
.footer a:link, .footer a:visited{ color: #19350D;}
.footer a.dropdown-item:link, .footer a.dropdown-item:visited{ color:#222222; }
.footer .fa{ font-size: 36px; }
.footer .fa:hover, .footer a:hover{ color: #ffffff; }
.footer .type_txt{ font-size: 150%;}

/*Admin*/

.listado_admin{ height: 250px; overflow: hidden;padding-bottom: 20px; }
.active_pag{ font-size: 200%; color: #fff; background-color: #19350D; padding: 0 10px;}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

