/* Font face */

@font-face {
    font-family: 'Open Sans';
    src: url('/files/font_eot/6578/opensans%2Dregular%2Dwebfont.eot');
    src: url('/files/font_eot/6578/opensans%2Dregular%2Dwebfont.eot#iefix') format('embedded-opentype'),
         url('/files/font_woff/6567/opensans%2Dregular%2Dwebfont.woff') format('woff'),
         url('/files/font_ttf/6571/opensans%2Dregular%2Dwebfont.ttf') format('truetype'),
         url('/files/svg/6575/opensans%2Dlight%2Dwebfont.svg#open_sansregular') format('svg');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/files/font_eot/7460/opensans%2Dsemibold%2Dwebfont.eot');
    src: url('/files/font_eot/7460/opensans%2Dsemibold%2Dwebfont.eot#iefix') format('embedded-opentype'),
         url('/files/font_woff/7461/opensans%2Dsemibold%2Dwebfont.woff') format('woff'),
         url('/files/font_ttf/7459/opensans%2Dsemibold%2Dwebfont.ttf') format('truetype'),
         url('/files/svg/7462/opensans%2Dsemibold%2Dwebfont.svg#open_sansbold') format('svg');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/files/font_eot/6581/opensans%2Dbold%2Dwebfont.eot');
    src: url('/files/font_eot/6581/opensans%2Dbold%2Dwebfont.eot#iefix') format('embedded-opentype'),
         url('/files/font_woff/6570/opensans%2Dbold%2Dwebfont.woff') format('woff'),
         url('/files/font_ttf/6574/opensans%2Dbold%2Dwebfont.ttf') format('truetype'),
         url('/files/svg/6577/opensans%2Dbold%2Dwebfont.svg#open_sansbold') format('svg');
    font-weight: 600;
    font-style: normal;
}

/* Font face ends */

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

html {
  font-size: 0.875em;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body, html {
  margin:0;
  padding:0;
}

body {
  color:#222;
  font-family:'Open Sans', Arial, sans-serif;
  font-weight:400;
  padding: 0;
}

label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
}

h1 {
  font-size: 2em;
  font-weight: 600;
}

b, strong {
  font-weight: 500;
}

#onstage-login-image {
  height:100vh;
  float:left;
  width:calc(100% - 30em);
  position:relative;
  position: fixed;
  background-image:url(/files/generic_jpeg/7154/onstage%2Dkirjautuminen%2D932758392.jpeg);
  background-repeat:no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center center;
}

.center-aligned {
  display:table;
  width:100%;
  height:100%;
  position:relative;
  z-index:10;
}

.center-core {
  display:table-cell;
  text-align:center;
  vertical-align:middle;
}

.center-core h1 {
  color:#fff;
  font-family:'Open Sans', Arial, sans-serif;
  font-size:4rem;
  font-weight: 400;
  height:auto;
  line-height:3rem;
  width:100%;

  text-shadow: 2px 2px 10px rgba(0,0,0,1);
  background: rgba(0, 0, 0, 0.4);
  margin: 40vh 0 0;
  padding:5rem 0;
}

.center-core h1 span {
  font-weight:normal;
  text-transform:uppercase;
  letter-spacing:0em;
  line-height:0.5em;
  font-size:0.5em;
}

#onstage-login-form {
  float:right;
  padding:2rem;
  width:30em;
}

@media (max-width:767px) {
  #onstage-login-image {
    display:none;
  }
  #onstage-login-form {
    width:100%;
  }
}

#onstage-login-form input {
  font-size:1rem;
  padding:0.5rem; 1rem;
}

#onstage-login-form input[type="text"],
#onstage-login-form input[type="password"] {
  padding:0.5rem; 1rem;
  width:100%;
}

#onstage-login-form input[type="submit"]:hover {
  cursor:pointer;
}

#logo {
    margin: 3rem 0;
}
#logo img {
  max-width: 100%;
  -webkit-transition: width 1s ease-in-out;
  -moz-transition: width 1s ease-in-out;
  -o-transition: width 1s ease-in-out;
  transition: width 1s ease-in-out;
}

@media (max-height:380px) {
  #logo {
      margin: 2rem 0;
  }
  #logo img {
    width: 150px;
  }
}

#right-bar {
  min-height: 100vh;
  float: right;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  width: 30em;
}
#bottom-bar {
  width: 100%;
}

@media (max-width:767px) {
  #right-bar {
      width: 100%;
  }
}

#grey-bar {
  float: right;
  clear: both;
  padding: 1rem 2rem;
  width: 100%;
  background:#ececec;
  color:#222;
  position:relative;
  right: 0;
  bottom:0;
  font-size: 0.85em;
  line-height: 1.15em;
}