/**
 * user/assets/styles/html.css
 *
 * @author Pablo Rubio
 * @version 1.0
 */

/* Root
 */

html,
body {
  width: 100%;
  padding: 0px;
  margin: 0px;
  display: block;
}

body {
  font-size: 10px;
  line-height: 1.4em;
  font-family: 'tjrsgthm', sans-serif;
  font-weight: normal;
  background-color: #e4e2e3;
  color: #58595b;
}

html[data-modal='open'],
html[data-modal='open'] body,
html[data-modal='open'] #wrap,
html[data-modal='open'] #main {
  overflow: hidden;
}

html[data-portales='active'],
html[data-portales='active'] body,
html[data-portales='active'] #wrap,
html[data-portales='active'] #main {
  overflow: hidden;
}

/* Wrap
 */

#wrap {
  position: relative;
  width: 100%;
  height: auto;
  max-width: 1020px;
  margin: 0px auto;
  background-color: #f4f4f4;

  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* Main
 */

#main {
  padding: 20px;
}

@media screen and (max-width: 860px) {
  #main {
    padding-top: 100px;
  }
}

/* Content
*/

#content {
  min-height: 600px;
}

/* Portales
*/

#portales {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  z-index: 1200;
}

#portales > div {
  position: relative;
  width: 100%;
  height: 100%;
}

#portales .mask {
  position: absolute;
  z-index: 100;
  opacity: 0.9;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background-color: rgba(0, 0, 0, 0.6);
  background-image: url('../images/debut_dark.png');
  background-size: 200px 200px;
  background-repeat: repeat;
}

#portales .content {
  width: 100%;
  height: auto;
  max-width: 836px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 500;
}

#portales .content img {
  display: block;
  width: 100%;
  height: auto;
}

#portales .content button {
  display: block;
  border: none;
  background-color: #ffffff;
  margin: 0px 0px 12px auto;
  padding: 6px;
  font-family: inherit;
  font-size: 1.5em;
  line-height: 1em;
}
