body,
html {
  background: #fff;
  height: auto;
}

#main {
  padding-bottom: 0;
}

#main:before {
  display: none;
}

#actual-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row;
  height: 60px;
  padding: 0 40px;
  font-size: 2.2em;
  background: #C51E24;
  background: linear-gradient(to bottom, #da1f26 0, #9b1c20 100%);
}

#actual-header>* {
  flex: 1 0;
  float: left;
}

#actual-header .title {
  display: flex;
  flex: 1 0;
  align-content: center;
  align-items: center;
}

#actual-header,
#actual-header a {
  color: #FFF;
}

#actual-header .clock {
  text-align: right;
}

#actual-header .icon-logo {
  background: transparent url(../images/logo-footer.png) no-repeat center center;
  width: 35px;
  height: 35px;
  display: inline-block;
  overflow: hidden;
  text-indent: -9999px;
  background: transparent url(../svgs/logo.svg) no-repeat center center;
  background-size: 35px 35px;
  float: left;
  margin-right: 15px;
}

.sl-wrapper {
  overflow: hidden;
}

#main {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 75px;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}

.admin-bar #main {
  top: 107px;
}

#main .row,
#main .item .content .pages {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
}

#main .row {
  transform: translateX(100%);
}

#main .row.active {
  transform: none;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

#main .item {
  flex: 1 0 100%;
  order: 2;
  overflow: hidden;
}

#main .item.active {
  order: 1;
}

#main .item .content {
  font-size: 2.2em;
  padding: 20px 40px;
}

#main .item .content .universal-header {
  margin-bottom: 0;
}

#main .item .content .page {
  font-size: 1.8em;
  font-family: Verdana, Tahoma, sans-serif;
  line-height: 0.8;
  flex: 1 1 100%;
  display: none;
  /*transition: opacity 0.5s ease-out 0.5s;*/
}

#main .item .content .page.active {
  display: block;
}

#main .item .content .page strong {
  font-weight: bold;
}

#main .item .content .page p {
  margin-bottom: 10px;
}

#main .item .content .page .alignleft {
  float: left;
  margin-right: 15px;
  margin-bottom: 15px;
}

#main .item .content .page .alignright {
  float: right;
  margin-left: 15px;
  margin-bottom: 15px;
}

@media all and (max-width: 980px) {
  #actual-header {
    display: flex;
    height: auto;
    padding: 10px 40px;
  }
  #actual-header>* {
    display: block;
    float: none;
    width: 100%;
  }
  #actual-header .clock {
    text-align: center;
  }
  #actual-header .title {
    flex: 0 0 auto;
    justify-content: center;
  }
  #main {
    top: 130px;
  }
  .admin-bar #main {
    top: 162px;
  }
}
