/* HTML5 Boilerplate - Normalize  */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; height:100% }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; background:#edece6; font-family:Helvetica, Arial, Verdana, sans-serif; height:100%; }

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

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

label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }


/* ==========
    FONTS
   ========== */

@font-face {
    font-family: 'misoregular';
    src: url('miso-regular-webfont.eot');
    src: url('miso-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('miso-regular-webfont.woff') format('woff'),
         url('miso-regular-webfont.ttf') format('truetype'),
         url('miso-regular-webfont.svg#misoregular') format('svg');
    font-weight: normal;
    font-style: normal;

}


/* ==========
    General
   ========== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
  height: 100%;
  overflow-y: scroll;
}

body {
    font-size: 1em;
    line-height: 1.4;
    height: 100%;
    position: relative;
}

::-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;
}

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

body {
    font-family: 'Open Sans', Helvetica, Helvetica Neue, Arial, sans-serif;
    font-size: 1em;
    background: #000;
    color: #fff;
}


.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.clear {
  clear: both;
}


/* ==========
    Loader
   ========== */

div#loadersplash{
  width:100%;
  height:100%;
  top:0;
  left:0;
  background:#fff;
  position:absolute;
  z-index:11000;
  color: #000;
  font-family: 'misoregular', Helvetica, Arial, Tahoma;
}

div#loadersplash div.loadersplash-container{
  position:absolute;
  left:45%;
  top:45%;
  text-align:center;
}

div#loadersplash div.loadersplash-percents{
  font-size: 1.6em;
}

/* ==========
    Header
   ========== */

.top-header{
  background: #26418a;
  position: relative;
  border-bottom: 1px solid #000;
}

.title{
  font-family: 'misoregular', Helvetica, Arial, sans-serif;
  font-weight: 100;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  line-height: 1em;
  font-size: 1.6em;
}

.title a,
.title a:hover, 
.title a:visited{
  text-decoration: none;
  color: #fff;
  display: block;
  background: url('../img/logos-uneu.png') 10px 7.5px no-repeat;
  padding: 0.1em 0 0.1em 100px;
  margin: 0 100px 0 0;
}

.title span {
  text-transform: none;
  font-size: 0.6em;
  display: block;
  line-height:1.2em;
}

.smicons{
  position: absolute;
  top: 10px;
  right: 10px;
}

.smicons-link,
.smicons-link:hover,
.smicons-link:visited{
  display: block;
  float: left;
  width: 24px;
  height: 24px;
  text-decoration: none;
}

.smicons-link-fb{ background: url('../img/icon-fb.png') no-repeat; margin-right: 5px; }
.smicons-link-fb:hover{ background: url('../img/icon-fb-h.png') no-repeat; }
.smicons-link-tw{ background: url('../img/icon-tw.png') no-repeat; }
.smicons-link-tw:hover{ background: url('../img/icon-tw-h.png') no-repeat; }

#header-menu-chaptersbutton{
  position: absolute;
  width: 50px;
  height: 50px;
  top: 0;
  right: 0;
  background: url('../img/icon-chaptersmenu.png') right no-repeat;
  cursor: pointer;
  z-index:100;
}


@media only screen and (min-width: 768px) {
  
  body{
    overflow:hidden;
  }

  .top-header{
    height: 50px;
  }

  .title span{
    display: inline;
  }
  
  .title{
    line-height: 1.4em;
    font-size: 1.8em;
  }

}