/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.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.
 */

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

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

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

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

   *, *:after, *:before {
    box-sizing: border-box;
}

body {
  font-family: 'Open Sans', Helvetica, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  color: #000;
}

.container {
  width: 100%;
  height: 100%;
  padding: 40px;
  position: absolute;
}

.fullscreen {
  min-height: 600px;
}

a {
  text-decoration: none;
  color: #ffc107;
  -webkit-transition: all .7s ease;
  transition: all .7s ease;
  outline: none;
}

a:hover {
  color: #000;
}

p {
  margin: 10px 0 0 0;
}

h1, h2, h3, h4, h5, h6, .h3 {
  font-size: 30px;
  line-height: 135%;
  font-weight: 800;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  color: #ffc107;
}

h1 {
  font-size: 46px;
  color: #FFF;
  text-shadow: 0 2px 3px #000;
  margin-top: 60px;
}

h2 {
  margin-top: 80px;
}

.h3 {
  margin-top: 40px;
}

.logo-brand {
  width: 380px;
}

.hide {
  display: none;
}

#layer {
  background: #FFF url('../img/congres.jpg') center fixed no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
}

.center {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


/* Animation */
.fadein {
  -webkit-animation: fadein 2s;
  -moz-animation: fadein 2s;
  -ms-animation: fadein 2s;
  -o-animation: fadein 2s;
  animation: fadein 2s;
}
@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@-moz-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@-webkit-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@-ms-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@-o-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

a#more {
  z-index: 20;
  position: absolute;
  bottom: 20px;
  color: #FFF;
  left: 50%;
  margin-left: -32px;
}
a#more:hover {
  bottom: 10px;
}
.arrow-down {
  -webkit-transition: all .7s ease;
  transition: all .7s ease;
  width: 64px;
  height: 64px;
  display: block;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAB+ElEQVR4Xu3Z4VHDMAyG4U8TwChsAGwCEzACxwhMQDcBNugoMIE5Q8K1idPYsiTbifOvdw3N+1ROmkDY+UY770cH6BOwc4G+BHY+AP0k2JdAXwI7F+hLYGkAnHPXAJ6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4Akgja8d4AEggx4oMAOBFixQcDcCB0v0G0P1273vbn+Xq3dV16+niW/wwFHaB8Xj1TPMsE7F+/GgJjPCtA8HawmQTmeHYAUQSBeBEAEQSheDEAVgTBeFEAFgTheHGAIASFeBUALwSleDUAJwTFeFUAKwTleHWAQYQI8VEAjAiR4qMBnCF0d2iBgac6m2/SpsewnAZ9n7w7QLWn4UjxUSfAF417XdQJ4I7x+XsFwEdtTGvKBIzp3fRpKRPgozamNWUCxvRu+rSUCfBRG9OaX4W3G6cGi830AAAAAElFTkSuQmCC');
}

.small-logo {
  text-align: left;
  padding: 40px;
}
.small-logo img {
  width: 150px;
}
#manifestations {
  font-size: 0;
  padding: 0;
  margin: 40px 0 40px 0;
}
  li {
      display: inline-block;
      padding: 20px;
  }
  li a {
      display: block;
      /*height: 132px;
      width: 96px;
      border: 5px solid #FFF;*/
  }
  /*li a:hover {
      border-color: #ffc107;
  }
  li a:hover img {
      -webkit-transition: all .7s ease;
      transition: all .7s ease;
  }*/


@media (max-width: 640px) {
  #page.fullscreen {
    height: auto !important;
  }

  #page .container {
    height: auto;
  }

  #page .center {
    justify-content: flex-start;
  }

  .container {
    padding: 40px 20px;
  }

  .logo-brand {
      width: 240px;
  }

  h1 {
      font-size: 28px;
  }

  h2 {
    font-size: 24px;
    margin-top: 40px;
  }

  .h3 {
    margin-top: 0;
  }
}


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

/*
 * Hide visually and from screen readers
 */

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

@media print {
  *,
  *:before,
  *:after {
    background: transparent !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;
  }
}

