/*! HTML5 Boilerplate v9.0.0-RC1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.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.
 */

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )
-----------------------------------------*/
@font-face {
    font-family: 'ralewayregular';
    src: url('../webfonts/raleway-regular-webfont.woff2') format('woff2'),
         url('../webfonts/raleway-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
:root {
  --white-color:                  #FFFFFF;
  /*--primary-color:                #ffc107;*/
  --primary-color:                #621121;
  --section-bg-color:             #f9f9f9;
  --dark-color:                   #000000;
  --grey-color:                   #fcfeff;
  --text-secondary-white-color:   rgba(255, 255, 255, 0.98);
  --title-color:                  #d72c6b;
  --p-color:                      #717275;

  --body-font-family:          'ralewayregular', sans-serif;
  /*--body-font-family:          'resagnictoregular';*/
  /*--header-font-family:        'resagnictobold';*/
  /*--home-font-family:          'resagnictobold'; */

  --h1-font-size:               72px;
  --h2-font-size:               28px;
  --h3-font-size:               30px;
  --h4-font-size:               28px;
  --h5-font-size:               24px;
  --h6-font-size:               22px;
  --p-font-size:                20px;
  --small-font-size:            16px;
  --copyright-text-font-size:   14px;
  --custom-link-font-size:      12px;

  --font-weight-light:          300;
  --font-weight-normal:         400;
  --font-weight-bold:           700;
  --font-weight-black:          900;
}


body, html { height: 100%;}
html{color:#222;font-size:1em;line-height:1.4;}
::-moz-selection{background:#b3d4fc;text-shadow:none;}
::selection{background:#b3d4fc;text-shadow:none;}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0;}
audio,canvas,iframe,img,svg,video{vertical-align:middle;}
fieldset{border:0;margin:0;padding:0;}
textarea{resize:vertical;}
body {background: var(--white-color);font-family: var(--body-font-family); position: relative;}
a:link, a:visited{text-decoration: none; color: var(--title-color);}
/*a:hover{text-decoration: underline;  }*/
.shadow-text{text-shadow: 1px 1px 2px #000000;}
button.enviar{background: var(--title-color); color:var(--white-color); font-weight: bold;  }
button.enviar:hover{background: var(--primary-color); color:var(--white-color);  }
.text-justify{ text-align: justify; }
.pagination .form-control {border-radius: 0;font-weight: var(--font-weight-normal);padding-top: 6px;padding-bottom: 6px;border-color: var(--white-color);}
.pagination .form-control:hover {background-color: var(--primary-color); color: var(--white-color);}
.pagination .active > .page-link, .page-link.active { background-color: var(--title-color);border-color: var(--title-color); font-weight: bold;border-radius: 0;}
.hover img:hover{-webkit-transform:scale(1.1);-moz-transform:scale(1.1);-o-transform:scale(1.1);/*opacity: 1;*/z-index: 10;}
.text-justify{ text-align: justify; }

/*---------------------------------------
  TYPOGRAPHY
-----------------------------------------*/
h2,h3,h4,h5,h6 {color: var(--primary-color);line-height: inherit;}
h1,h2,h3,h4,h5,h6 {font-weight: var(--font-weight-bold);}
h1,h2 {font-weight: var(--font-weight-black);}
h1 {font-size: var(--h1-font-size);line-height: normal;}
h2 {font-size: var(--h2-font-size); width: 100%; border-bottom: #621121 2px solid;}
h3 {font-size: var(--h3-font-size);}
h4 {font-size: var(--h4-font-size);}
h5 {font-size: var(--h5-font-size);}
h6 {font-size: var(--h6-font-size);}


/* Animation effects for Magnific */
/* overlay at start */
.mfp-fade.mfp-bg {opacity: 0;-webkit-transition: all 0.15s ease-out;-moz-transition: all 0.15s ease-out;transition: all 0.15s ease-out;}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {opacity: 0.8;}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {opacity: 0;}
/* content at start */
.mfp-fade.mfp-wrap .mfp-content {opacity: 0;-webkit-transition: all 0.15s ease-out;-moz-transition: all 0.15s ease-out;transition: all 0.15s ease-out;}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {opacity: 1;}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {opacity: 0;}


/*---------------------------------------
  NAVIGATION
-----------------------------------------*/
.navbar {z-index: 10;right: 0;left: 0;padding-top: 0; padding-bottom: 0; font-weight: bold;/*text-shadow: 2px 1px 2px #808080;*/}
.navbar-expand-lg {background-color: var(--primary-color);  /*background-color: rgb(57, 8, 50, 0.6);*/ transition: all 300ms ease-out 0s; z-index: 999; border:none; border-radius:0;}

.navbar-expand-lg .navbar-nav .nav-link {padding-right: 15px;padding-left: 15px;}
.navbar-nav .nav-link:hover::after {opacity: 1;-webkit-transform: translateY(0px);-moz-transform: translateY(0px);transform: translateY(0px);}
.navbar-nav .nav-link {color: var(--white-color);font-size: 18px;position: relative;}
.nav-link{ font-weight: bold; }

.navbar-nav .nav-item.active .nav-link,.nav-link:focus,.nav-link:hover {background-color: var(--title-color); }
.nav-link:focus {color: var(--white-color); }
.navbar-nav .nav-link.active {	color: var(--title-color);}
.navbar-nav .nav-link.active:hover{	color: var(--white-color);}

.navbar-toggler {border: 0;padding: 0;cursor: pointer;margin: 0;width: 30px;height: 35px;outline: none;}
.navbar-toggler:focus {outline: none;box-shadow: none;}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {background: transparent;}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;transition: top 300ms 50ms ease, transform 300ms 350ms ease;transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;top: 0;}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {transform: rotate(45deg);}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {transform: rotate(-45deg);}
.navbar-toggler .navbar-toggler-icon {background: var(--white-color);transition: background 10ms 300ms ease;display: block;width: 30px;height: 2px;position: relative;}
.navbar-toggler .navbar-toggler-icon:before,.navbar-toggler .navbar-toggler-icon:after {transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;transition: top 300ms 350ms ease, transform 300ms 50ms ease;transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;position: absolute;right: 0;left: 0;background: var(--white-color);width: 30px;height: 2px;content: '';}

.navbar-toggler .navbar-toggler-icon:before {top: -8px;}
.navbar-toggler .navbar-toggler-icon:after {top: 8px;}
/*.bg-light {background-color: var(--primary-color) !important; }*/
.navbar-brand img{ max-height: 60px; width: auto; z-index: 100; margin-top:5px}
.lang img{ margin:-15 0 0;padding:0; max-height: 32px;}
.menu, .footer{background-color: var(--primary-color);}
.dropdown-menu {
	--bs-dropdown-bg: var(--primary-color);
	--bs-dropdown-link-hover-bg: var(--title-color);
}
.dropdown-menu a.dropdown-item{ color:#ffffff; font-weight: bold; }
form.buscar input[type="text"] {padding: 5px;float: left;width: 100%;background: #FFFFFF;height: 40px;border: none;border: #FFFFFF solid 1px;outline: none;}
form.buscar button {float: left;width:30px;padding: 6px;background: #390832;color: white;cursor: pointer;height: 40px;border: none;border: #390832 solid 1px;}
.carrito .badge{font-size:130%; background: #E45F62;color: white;}
.carrito .fa { color: #ffffff; }
.carrito .badge:hover{ background: #390832; }



/*     Home     */
.home-header{ width: 100%; font-size: 1.2em; }
.home-header a:link, .home-header a:visited{color: var(--white-color); background-color:#621121; padding:2px 20px; width: 100%; font-weight: bold;}
.home-header a:hover{background-color: #E45F62;}

/*     Products     */
.imgProd{ border-bottom: #621121 solid 5px; padding-bottom: 30px; overflow: hidden;}
.prices {background-color: #621121;z-index: 10;position: absolute;margin-top: -30px;right: 16px;color: #fff;font-weight: bold;padding: 2px 10px;}
.border-cpf {	--bs-border-opacity: 1;	border-color: #621121 !important;}
.productos .badge {background: #CC0000 none repeat scroll 0% 0%;position: absolute;top: 10px;left: -10px;-webkit-transform: rotateZ(-20deg);transform: rotateZ(-20deg); padding: 5px; font-size: 1.2em;}
.oldprice{ text-decoration: line-through; }
.tipoferta{ font-size: 1.5em; }
.productos .nuevo {background: url(../img/design/nuevo-producto.png) no-repeat scroll 0% 0%;position: absolute;top:-20px;right:-20px;}
.oldprice{ text-decoration: line-through; }

/*     Footer     */
.footer, .footer a:link, .footer a:visited { color:#ffffff; font-weight: bold; }
.social-icon{ font-size: 2rem; }
.menufooter a:link{ text-transform: uppercase; padding: 5px; }
.menufooter a:hover{background-color: var(--title-color);}

/*     Admin     */
.menuadmin{ background-color:#621121; font-weight:bold; }
.menuadmin a:link, .menuadmin a:visited{ color:#ffffff; }
.menuadmin a:hover{  color:#d72c6b;}

/* ==========================================================================
   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
 */

.visually-hidden {
  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 .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.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
 *
 * 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 (max-width: 992px) {
  .home{ font-size: 1rem;}
  .home .h2{ font-size: 1.3rem;}
  .home small{ font-size: 0.8rem }
  .navbar-brand img{ max-height: 40px;}

}

@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;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

