/*! HTML5 Boilerplate v5.0.0 | MIT License | http://h5bp.com/ */

/*
 * 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
   ========================================================================== */

   @import url('../fonts/Bebas/BebasNeue-Regular.css');
   @import url('../fonts/Gotham-Bold/styles.css');
   @import url('../fonts/Gotham-Light/styles.css');

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

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * 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;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


.interior {
  background-image: url("../img/bg_paper.jpg");
  background-size: cover;
  margin: 0 auto;
  max-width: 59em; /*65em*/
  width: 100%;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
}

body {
  background-image: url("../img/bg.jpg");
  background-size: contain;
  font-family: "GothamLight";
  color: #604c3f;
  background-attachment: fixed;
  overflow-x: hidden;
}

.logo {
  background-image: url("../img/bubayou.png");
  background-size: cover;
  display: block;
  height: 10em;
  margin: 0 auto;
  position: relative;
  width: 17.5em;
}
.redes-icon {
  background-color: #af272d;
  border-radius: 0.3em;
  color: #C1B097;
  padding: 0.3em;
  text-decoration: none;
}
.redes-icon.fa-facebook {
  padding: 0.3em 0.5em;
}
.redes-icon-2 {
  border-radius: 0.3em;
  color: #af272d;
  font-size: 1.8em !important;
  padding: 0.3em 0;
  position: relative;
  text-decoration: none;
  top: 0.16em;
}
.border-section {
    border: 2px solid #af272d;
    border-bottom: 0;
    margin: 1em;
    margin-bottom: 0;
}
.top-info {
  color: #af272d;
  margin-right: 1.2em;
  position: absolute;
  right: 0;
  text-align: right;
  top: 0;
}
.header-info {
  height: 13.3em;
  padding-top: 1em;
  position: relative;
}

.menu > ul {
  margin: 0;
  padding: 0;
}
.menu > ul > li {
  display: inline-block;
  margin: 0 1em;
  text-align: center;
  width: calc(16.5% - 2.5em);
}
/*
.menu a {
  background-color: #af272d;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.4);
  color: #fff;
  font-family: "BebasNeue-Regular";
  font-size: 1.5em;
  font-weight: lighter;
  padding: 0.1em 1.3em;
  text-decoration: none;
  text-transform: uppercase;
}
*/
.menu a {
  background-color: #af272d;
  box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.3);
  color: #fff;
  display: block;
  font-family: "BebasNeue-Regular";
  font-size: 1.3em;
  font-weight: lighter;
  text-decoration: none;
  text-transform: uppercase;
  width: 100%;
  cursor: pointer;

  transition: all 0.1s ease 0s;
  -webkit-transition: all 0.1s ease 0s;
}

.menu a:hover {
  transform: rotate(-4deg);
  -webkit-transform: rotate(-4deg);
}

.menu {
  background-image: url("../img/wood_bar.jpg");
  background-size: cover;
  padding: 0.5em 0;
  position: relative;
  z-index: 1000;
}

.border-section.top-menu {
  background-image: url("../img/lines_bar.png");
  background-position: center bottom;
  background-repeat: repeat-x;
  background-size: contain;
}
.top-info > p {
  font-family: "GothamBold";
  margin: 0;
}


.nosotros-section .border-section {
  border-top: 0 none;
  margin-top: 0;
}
.col_6 {
  float: left;
  margin-top: 1.3em;
  width: 50%;
}
.col_6 > img {
  padding: 0 2em;
  width: 80%;
}

.descarga-menu {
  background-color: #af272d;
  clear: both;
  color: #fff;
  font-family: bebasneue-regular;
  font-size: 1.5em;
  letter-spacing: 0.02em;
  padding: 0.5em 0;
  text-align: center;
}
.descarga-menu a {
  color: #fff;
}

.col_6 > p {
  border-right: 2px solid #604c3f;
  font-size: 1.2em;
  padding: 1em 3.2em;
  font-style: italic;
}

.nosotros-section article {
  margin: 1.5em auto 4em;
  text-align: center;
  width: 75%;
}

.nosotros-section article h2 {
  border-bottom: 2px solid #604c3f;
  border-top: 2px solid #604c3f;
  display: inline-block;
  font-family: bebasneue-regular;
  font-size: 2em;
  letter-spacing: 0.02em;
}
.nosotros-images {
  background-image: url("../img/images-nosotros.jpg");
  background-size: cover;
  height: 11.5em;
}
/*
.section-title > h2 {

    background-color: #af272d;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.4);
  color: #fff;
  font-family: "BebasNeue-Regular";
  font-size: 1.5em;
  font-weight: lighter;
  padding: 0.1em 1.3em;
  text-decoration: none;
  text-transform: uppercase;
  display: inline-block;
  margin: 0;

}
*/
.section-title > h2 {
  background-color: #af272d;
  box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.7);
  text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.7);
  color: #fff;
  display: inline-block;
  font-family: "BebasNeue-Regular";
  font-size: 1.8em;
  font-weight: lighter;
  margin: 0;
  padding: 0.1em 2em;
  text-decoration: none;
  text-transform: uppercase;
}

.section-title {
  background-image: url("../img/wood_bar.jpg");
  background-size: cover;
  padding: 0.5em 0;
  text-align: center;
  box-shadow: 5px 5px 4px rgba(0, 0, 0, 0.5);
}

.franquicias-section article {
  float: left;
  padding: 2em;
  width: calc(46% - 4em);
}
.autentico-cajun {
  background-image: url("../img/autentico_cajun.png");
  background-repeat: no-repeat;
  background-size: contain;
  height: 8em;
  width: 100%;
}
.platillo-cajun {
  background-image: url("../img/platillo.png");
  background-repeat: no-repeat;
  background-size: contain;
  height: 16em;
  width: 100%;
}
/*
.platillo-cajun-sello {
  background-image: url("../img/platillo-cajun.png");
  background-repeat: no-repeat;
  background-size: contain;
  height: 28.2em;
  width: 100%;
}
*/
.platillo-cajun-sello {
  background-image: url("../img/platillo-cajun.png");
  background-repeat: no-repeat;
  background-size: cover;
  height: 28.2em;
  width: 100%;
}
.franquicias-section aside {
  float: right;
  margin-top: 6.5em;
  position: relative;
  right: -1.1em;
  width: 54%;
}
/*
.franquicias-section aside {
  float: right;
  margin-top: 6.5em;
  width: 58%;
  position: absolute;
  right: -6em;
}
*/
.franquicias-section .border-section {
  border-top: 0 none;
  margin-top: 0;
}
article b {
  font-family: GothamBold;
  font-weight: lighter;
}
.footer-franquicias {
  background-color: #af272d;
  background-image: url("../img/adorno_a.png");
  background-position: right 0.5em;
  background-repeat: no-repeat;
  background-size: 20% auto;
  color: #fff;
  font-family: "GothamBold";
  font-weight: lighter;
  padding: 1.5em;
  text-align: center;
}
.footer-franquicias > ul {
  margin: 0;
  list-style-type: none;
}
/*
.footer-franquicias li {
  float: left;
  margin: 0 1.5em;
  text-align: right;
  width: calc(50% - 3em);
}
*/
.footer-franquicias li {
  float: left;
  margin: 0 0 0 0.5em; /*margin: 0 0 0 1.5em;*/
  text-align: right;
  width: calc(50% - 3em);
}
.footer-franquicias li:nth-child(2n) {
  text-align: left;
}
.red-btn {
  background-color: #841a22;
  border-radius: 0.3em;
  color: #fff;
  display: inline-block;
  font-family: GothamLight;
  font-size: 0.9em;
  padding: 0.4em 0.8em;
  text-decoration: none;
  margin-top: 1em;
  cursor: pointer;
}

.line-separator {
  background-color: #604c3f;
  height: 2px;
  margin: 1em auto;
  width: 90%;
}
.footer > p {
  font-size: 0.9em;
  margin: 2em auto;
  text-align: center;
  width: 40%;
}

.shadow-separator {
  margin: 1em 0 0;
  width: 100%;
}
.contacto-section .border-section {
  background-image: url("../img/chile.png");
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: 35% auto;
  border-bottom: 2px solid #af272d;
  border-top: 0 none;
  margin-top: 0;
  padding-bottom: 1.5em;
  padding-top: 2em;
}
.disclaimer {
  font-size: 0.85em;
  margin-bottom: 1em;
  padding-bottom: 2em;
  text-align: center;
  width: 100%;
}
.foot-space-bottom {
  height: 3em;
}

.bxslider {
  margin: 0;
}
.bx-wrapper {
  margin: 0 auto !important;
}
.bx-wrapper .bx-viewport {
  left: 0 !important;
}
.slide-caption {
  background-color: #fff;
  bottom: 1em;
  color: #af272d;
  display: block;
  font-family: bebasneue-regular;
  font-size: 2em;
  padding: 0.4em 1em;
  position: absolute;
  right: 0;
}
.movil-menu {
  display: none;
}






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

/*
 * Hide visually and from screen readers:
 * http://juicystudio.com/article/screen-readers-display-none.php
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

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

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    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: " "; /* 1 */
    display: table; /* 2 */
}

.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: 48em) {
    /* 768 */

.col_6 > p {
  font-size: 0.9em;
}
.col_6 > p {
  padding: 1em 2em;
}
.franquicias-section aside {
  width: 65%;
}
.franquicias-section article {
  font-size: 0.9em;
  width: calc(54% - 4em);
}
.menu > ul > li {
  display: inline-block;
  margin: 0 2em;
  text-align: center;
  width: calc(27.5% - 6.2em);
}
.menu a {
  font-size: 1.3em;
}


}

@media only screen and (max-width: 35em) {
    /* 560 */
    .top-info {
  color: #af272d;
  margin-right: auto;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 100%;
}
.logo {
  margin: 4em auto 0;
}
.header-info {
  height: 14.5em;
}
.logo {
  background-image: url("../img/bubayou.png");
  background-size: cover;
  display: block;
  height: 8em;
  margin: 4em auto 0;
  position: relative;
  width: 14em;
}
.menu > ul {
  display: none;
}
.slide-caption {
  font-size: 0.9em;
}
.col_6 {
  width: 100%;
   margin-top: 0;
}
.col_6 > p {
  border-right: medium none;
  text-align: center;
}
article p {
  font-size: 0.85em;
}
.nosotros-images {
  background-image: url("../img/images-nosotros.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 3.5em;
}
.franquicias-section article {
  font-size: 0.9em;
  width: calc(100% - 4em);
}
.franquicias-section aside {
  float: right;
  margin-top: 0;
  position: relative;
  right: auto;
  width: calc(100% - 0.5em) !important;
}
.platillo-cajun-sello {
  height: 15em;
}
.footer-franquicias > ul {
  font-size: 0.9em;
  margin: 0;
  padding: 0 1em;
}
.footer-franquicias li {
  float: none;
  margin: 0;
  text-align: left;
  width: 100%;
}
.logo {
  margin: 0 auto 0;
}
.header-info .logo {
  margin:4em auto 0 !important;
}
.footer > p {
  font-size: 0.9em;
  margin: 2em auto;
  text-align: center;
  width: 100%;
}
.modal-box {
  font-size: 0.85em;
  left: 50%;
  max-width: 30em;
  padding: 0 1.5em !important;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  width: calc(100% - 5.5em) !important;
}
.modal-close-button {
  border: 1px solid #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 2em;
  line-height: 1em;
  padding: 0.2em 0.3em;
  position: absolute;
  right: 0 !important;
  top: 0 !important;
  transform: scale(0.8);
  -webkit-transform: scale(0.8);
}

.movil-menu {
  display: block !important;
}
.movil-menu {
  text-align: center;
}
.movil-menu > li {
  display: inline-block;
  font-size: 1.4em !important;
  margin: 0.2em !important;
  text-align: center !important;
  width: 40% !important;
}

.sucursales-box {
  display: block;
  margin: 0 1.5rem;
}

}




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

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

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

    img {
        max-width: 100% !important;
    }

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

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