/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.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
   ========================================================================== */

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 #fff;
    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
   ========================================================================== */

 .premiere-c {
 position: relative;
 background-color: #131A22;
 color: #ccc;
}

.premiere-c h3 {
	color:#fff;
}

img.rounds {
   width: 190px;
	 margin-bottom: 0.5em;
   border-radius: 50%;
   -webkit-box-shadow: 6px 7px 13px -6px rgba(0,0,0,0.75);
   -moz-box-shadow: 6px 7px 13px -6px rgba(0,0,0,0.75);
   box-shadow: 6px 7px 13px -6px rgba(0,0,0,0.75);
 }

   .main {margin-top: 0;
       position:relative;
       background-color: transparent;
   }
   .main-c {margin-top: 0;
       position:relative;
       width: 100%;
       background: url('https://salondejulio.com/img/sj-lettering.svg')top center no-repeat;
       background-size: 80%;
  }

  .noise{
    background-color:#2f3135;
    background-image:url(data:image/png;base64,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)
}

.icn {
  color: rgba(255,255,255,0.3);
}

.full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

img.wide {
  max-width: 100%;
}

.blugray {
  color: #B0BEC5;
}

.fauno-bg {
  background: url('../img/fauno-light.svg') bottom center no-repeat;
  background-size:cover;
}

#final {
    height: 1px;
    color: rgba(176,190,197,0.3);
    background: rgba(176,190,197,0.3);
    font-size: 0;
    border: none;
    margin-top: 75px;
}

.texture-paper {
    background:  url(../img/sj-bg.png);
  }

.texture-teal {
      background:  url('../magnvs/image/upload/v1494037565/teal-bg_ad6g35.jpg')top center no-repeat;
      background-size: contain;
    }

.full-image {
    min-height:100%;
    background-color: #778899;
}

.blackmamba {
      background: url('../img/macm-w.svg'), url('../img/blackmamba.png');
      background-repeat: no-repeat, repeat;
      background-position: top, center;
      background-size: contain, none;
}
.suscribe-b {
  background-color:#226691;
  color:#fff;
  letter-spacing:2px;
  margin-bottom: 0;
  padding-top: 10px;
  padding-bottom: 0;
}

.data {
  padding-top:.2em;
  text-align: left;
  color: #1a1a1a;
}

.data h5 {
  font-family: 'Oswald', sans-serif;
  font-weight: 200;
  font-size: .9rem;
  line-height: 1.1rem;
}

.data img {
  margin-bottom: 1.5rem;
  width: 215px;
}

.data span {
  text-transform: uppercase;
}
.data p {
font-family: 'Yanone Kaffeesatz', sans-serif;
font-size: 1em;
letter-spacing: 1px;
color: #111;
max-width: 315px;
}
.columns {
  -webkit-column-count: 2;
  -moz-column-count:2;
  column-count:2;
}

.suscribe {
  background-color:#131a22;
  color:#fff;
  letter-spacing:2px;
  margin-bottom: 0;
  padding-top: 10px;
  padding-bottom: 0;
}
span.suscrib{
  letter-spacing:3px;
  font-weight: bold;
  font-size: 1.5em;
  line-height: 2em;
}

.gala {
  background: #23303d;
  color:rgba(255, 255, 255, 0.9);
  letter-spacing:2px;
  margin-bottom: 0;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 10px;
  padding-bottom: 0;
}
span.gala {
  letter-spacing:3px;
  font-weight: bold;
  font-size: 1.5em;
  line-height: 2em;
}

@media only screen and (max-width:600px){
.main-c {
    background: url('https://salondejulio.com/img/sj-lettering.svg') top 100px center no-repeat;
    background-size: contain;
  }
.texture-teal {
        background-size: 100%;
        background-repeat: repeat-y;
      }
}

@media only screen and (max-width:460px){
.main-c {
    background: url('https://salondejulio.com/img/sj-lettering.svg') top 150px center no-repeat;
    background-size: contain;
  }
.texture-teal {
          background-size: contain;
        }
.blackmamba {
              background: url('../img/macm-w.svg'), url('../img/blackmamba.png');
              background-repeat: no-repeat, repeat;
              background-position: top, center;
              background-size: auto, none;
            }
}

@media only screen and (max-width:340px){
.main-c {
    background: url('https://salondejulio.com/img/sj-lettering.svg') top 90px center no-repeat;
    background-size: contain;
  }
.texture-teal {
          background-size: contain;
        }

.blackmamba {
              background: url('../img/macm-w.svg'), url('../img/blackmamba.png');
              background-repeat: no-repeat, repeat;
              background-position: top, center;
              background-size: auto, none;
        }
.columns {
        column-count:1;
        }
.suscribe {
          background-color:#131a22;
          color:#fff;
          margin-bottom: 0;
          padding-top: 10px;
          padding-bottom: 0;
          line-height: 3em;
        }
 span.suscrib{
          font-size: .9em;
          line-height: 1em;
        }
.gala {
  margin-bottom: 0;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 30px;
  padding-bottom: 0;
}
}


/* ==========================================================================
   Big picture rules
   ========================================================================== */

.flex-img {
  margin: auto;
  max-width: 1200px;
}

.flex-img img,
.flex-img div {
  margin: .2em;
  cursor: pointer;
  border-radius: 2px;
  max-width: calc(30% - 12px);
  box-shadow: 0px .1em .7em rgba(0, 0, 0, 0.2);
}

.flex-img div {
  display: inline-block;
  margin: 5px;
  /*max-width: calc(50% - 12px);*/
}

/* ==========================================================================
	Timeline rules
   ========================================================================== */
h1.time {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1.5px;
  color: #ccc;
  font-weight: 100;
  font-size: 2.4em;
}
#content-time {
  margin-top: 50px;
  text-align: center;
}

#content-time h3 {
	color: #00B0FF;
}

.timeline {
  border-left: 4px solid #4298C3;
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Source Sans Pro', sans-serif;
  margin: 50px auto;
  letter-spacing: 0.5px;
  position: relative;
  line-height: 1.4em;
  font-size: 1.03em;
  padding: 50px;
  list-style: none;
  text-align: left;
  font-weight: 100;
  max-width: 55%;
}
.timeline h1,
.timeline h2,
.timeline h3 {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1.5px;
  font-weight: 100;
  font-size: 1.4em;
}

.timeline img {
	width: 30%;
	border-radius: 50%;
	border: 3px solid #ccc;
	shape-outside: circle(50%);
}

.izquierda {
	margin: 10px;
	float: left;

}
.derecha{
	margin: 1px;
	float: right;
}

.timeline .event {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 25px;
  margin-bottom: 40px;
  position: relative;
}
.timeline .event:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
  border: none;
}
.timeline .event:before,
.timeline .event:after {
  position: absolute;
  display: block;
  top: 0;
}
.timeline .event:before {
  left: -217.5px;
  color: #e76a00;
  content: attr(data-date);
  text-align: right;
  font-weight: 100;
  font-size: 0.9em;
  min-width: 120px;
}
.timeline .event:after {
  box-shadow: 0 0 0 4px #4298c3;
  left: -57.85px;
  background: #313534;
  border-radius: 50%;
  height: 11px;
  width: 11px;
  content: "";
  top: 5px;
}


@media only screen and (max-width:600px) {
 h1.time {
  letter-spacing: 1px;
  font-size: 1.2em;
}
  .timeline h1,
  .timeline h2,
  .timeline h3 {
    letter-spacing: 1.3px;
    font-size: 1.1em;
  }

  .timeline {
    border-left: 1px solid #4298C3;
    margin: 0 auto;
    position: relative;
    line-height: 1.3em;
    font-size: 1em;
    padding: 7px;
    list-style: none;
    text-align: left;
    font-weight: 100;
    min-width: 90%;
  }

  .timeline img {
  	width: 45%;
  	border-radius: 50%;
  	border: 2px solid #ccc;
  	shape-outside: circle(50%);
  }

  .timeline .event {
    padding-top: 25px;
  }

  .timeline .event:before {
    left: 0;
    content: attr(data-date);
    text-align: right;
    width: 100%;
    line-height: 1.1em;
  }
  .timeline .event:after {
    left: -14px;
  }
}


/* ==========================================================================
   Magazine classes
   ========================================================================== */

.article-mag-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  color: #1a1a1a;

}

.article-mag-header{
  text-align: center;
}

@media (max-width: 520px) {
  .article-header h2 {
    font-size: 1.2rem;
  }
}

.classification-header {
  text-transform: uppercase;
  color: #1a1a1a;
  letter-spacing: 0.1rem;
}

.intro-ps {
  -webkit-columns: 2;
     -moz-columns: 2;
          columns: 2;
  margin: 0 0 2rem 0;
}
.intro-ps > p:first-child {
  text-indent: 0;
}
.intro-ps > p:first-child strong {
  font-size: 125%;
  letter-spacing: -1px;
  line-height: 0;
}
@media (max-width: 520px) {
  .intro-ps {
    -webkit-columns: 1;
       -moz-columns: 1;
            columns: 1;
  }
}

.in-brief {
  text-align: center;
  margin: 0 0 2rem 0;
}
.in-brief h3 {
  text-transform: uppercase;
  text-align: center;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  display: inline-block;
  padding: 0 20px;
  color: #999;
  letter-spacing: 0.2rem;
  font-size: 80%;
  margin: 0;
  background: white;
  position: relative;
  top: 1px;
}

.in-brief-content {
  -webkit-columns: 3;
     -moz-columns: 3;
          columns: 3;
  font-size: 0.8rem;
  text-align: left;
  border: 1px solid #ccc;
  padding: 20px;
}
@media (max-width: 520px) {
  .in-brief-content {
    -webkit-columns: 2;
       -moz-columns: 2;
            columns: 2;
  }
}


.article-mag-header {
  padding: 0 50px;
  margin: 0 0 30px 0;
}

.byline {
  font-size: 2.5em;
  color:#aaa;
}

.article-mag-body {
  font-size: 0.9rem;
  max-width: 500px;
  margin: 0 auto;
}
.article-mag-body h3 {
  text-align: center;
  text-transform: uppercase;
  margin-top: 2rem;
}

.centro {
  text-align: center;
}

.leftie{
  text-align: left;
  font-size: 1rem;
}

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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * 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 (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:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        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;
    }
}