﻿*{
  -webkit-tap-highlight-color: rgba(0,0,0,0); 
}

body {
  font-family: Arial;
  padding-top: 20px;
  background-color: #f5f5f5;
}

h1, h2, h3, h4, h5, h6, p, span {
  font-family: Arial;
}

h1 {
  color: #595959;
  font-weight: bold;
  font-size: 28px;
  padding: 0;
  margin: 40px 0 0 0;
}

h2, h3, h5, h6, p, span, label, li {
  color: #333;
  font-weight: normal;
}

h3, h5, p, span, li {
  font-size: 13px;
}

h2, h4 {
  font-size: 16px;
  padding: 0;
  margin: 20px 0 5px 0;
}

h4 {
  color: #333;
}

h3, h5 {
  padding: 0;
  margin: 10px 0 10px 0;
}

p {
  padding: 0;
  margin: 0;
}

img {
  border: 0;
}

hr {
  border: none;
  height: 1px;
  width: 100%;
  background: #DDD;
  margin: 20px 0 0 0;
}

a {
  text-decoration: none;
  color: #006900;
}

  a:hover {
    text-decoration: underline;
  }

  .no-access {
    margin-top: 10px;
  }
  .titleRSS {
    font-weight: bold;
  }

/*Layout specific*/
.layout-row {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-flex-direction: row;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  display: -webkit-flex;
}

.layout-column {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-flex-direction: column;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  display: -webkit-flex;
}

/*Inputs*/

input[type="text"], input[type="password"] {
  height: 35px;
  outline-color: #f5f5f5;
  border: 1px solid lightgray;
  width: calc(100% - 20px)
}

.btn-ok > span, .btn-cancle > span {
  color: #fff;
}

.btn-ok, .btn-cancle {
  width: 100px;
  border: 0;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -webkit-border-radius: 6px;
  font-size: 13px;
  height: 30px;
}

.btn-ok {
  background-color: #006900;
  margin-left: -2px;
}

.btn-cancle {
  background-color: #595959;
  margin-left: 10px;
}

  .btn-ok:hover, .btn-cancle:hover {
    cursor: pointer;
    opacity: 0.9;
  }

  .btn-ok:focus, .btn-cancle:focus {
    outline: none;
    opacity: 0.9;
  }

.flex-input-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  display: -webkit-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-justify-content: space-between;
  margin: 15px 0 0 0;
}

  .flex-input-container.last {
    margin: 15px 0 !important;
  }

.input-validation-error {
  border: 1px solid #F75E5E !important;
  outline: #F75E5E;
}

.error-msg {
  color: #f11111;
  float: left !important;
}

/*LoginPage Inner content*/
.container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  display: -webkit-flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-flex-direction: column;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin: 0 auto 60px auto;
  padding: 15px;
}

.header-logo-container {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-justify-content: space-between;
  -webkit-flex-align: space-between;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-align-items: flex-end;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  display: -webkit-flex;
}

  .header-logo-container img {
    max-width: 200px;
    max-height: 50px;
  }

#hsg-logo {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -webkit-flex: 1;
  width: 100%;
  height: auto;
}

#external-logo {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -webkit-flex: 1;
  width: 100%;
  height: auto;
}

.header-img-container {
  margin-top: 15px;
  width: 515px;
  margin-left: -15px;
  position: absolute;
  top: 85px;
}

img.header-img {
  width: 100%;
  height: auto;
}

.title-container {
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-align-items: flex-end;
    -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-justify-content: space-between;
}

.subtitle-container {
  margin: 0 0 3px 0;
  width: auto;
}

.subtitle {
  color: #006900;
  font-size: 14px;
  width: auto;
  text-align: right;
}

.login-condition {
  min-width: 15px;
  width: 15px;
}

.info1 {
  margin-top: 20px;
}

.info2 {
  margin-top: 20px;
  margin-bottom: 5px;
}

/*footer*/
footer {
  height: auto;
  min-height: 40px;
  background-color: #595959;
  color: #fff;
  padding: 0 20px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-justify-content: space-between;
  -webkit-flex-align: space-between;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  -webkit-align-items: baseline;
}


  footer > select {
    margin: 1em;
    max-height: 20px;
  }

  footer a {
    color: #fff !important;
    white-space: nowrap;
  }

  footer > p {
    color: #fff !important;
  }

/*Media Queries*/

/*Large*/
@media screen and (min-width: 540px) {

  .hide-lg {
    display: none;
  }

  .container {
    max-width: 485px;
    min-width: 470px;
    width: 485px;
  }

  .title-container {
    margin-top: 200px;
  }

  hr.fullWidth {
    width: 500px !important;
    margin: 20px 0 0 -15px;
  }

hr.fullWidth:after {
    content: '';
    float: right;
    width: 200px;
    margin-right: -15px;
    border-top: 1px solid #DDD;
}

  .error-msg {
    margin-left: -3px;
  }

  .flex-input-container {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
  }

    .flex-input-container > .left {
      max-width: 170px;
      width: 170px;
    }

    .flex-input-container .right {
      max-width: 300px;
      width: 300px;
      -webkit-box-align: center;
      -webkit-align-items: center;
          -ms-flex-align: center;
              align-items: center;
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
    }

      .flex-input-container .right p {
        margin-left: 3px;
      }

  .login-condition {
    margin-left: -2px;
  }

  footer {
    position: fixed;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    display: -webkit-flex;
    bottom: 0;
    left: 0;
    right: 0;
  }

    footer > p {
    margin: 1em !important;
  }
}
/*Small*/
@media all and (max-width: 539px) {

  .hide-sm {
    display: none;
  }

  .container {
    width: Calc(100% - 30px);
  }

  hr.fullWidth {
    width: Calc(100% + 30px) !important;
    margin-left: -15px;
  }

  .title-container {
    -webkit-box-orient: horizontal !important;
    -webkit-box-direction: normal !important;
    -ms-flex-direction: row !important;
    flex-direction: row !important;
    -webkit-flex-direction: row !important;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-align-items: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
  }

    .title-container h1 {
      margin-bottom: 10px;
    }

  .subtitle {
    text-align: left;
  }

  .title-container-sm {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    display: -webkit-flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -webkit-flex-align: space-between;
    width: 100%;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    -webkit-align-items: baseline;
    -moz-align-items: baseline;
  }

  .flex-input-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-align-items: flex-start;
    -moz-align-items: flex-start;
  }

    .flex-input-container > * {
      width: 100%;
    }

  .btn-ok {
    margin-left: 0 !important;
  }

  .right > p {
    float: right;
    width: calc(100% - 30px);
  }

  label {
    margin-bottom: 8px;
  }

  footer {
    padding-top: 15px;
    padding-bottom: 15px;
    position: static;
    margin-left: -10px;
    width: calc(100%- 1.4em);
    width: -webkit-calc(100% - 1.4em);
  }

  footer > p {
    margin: 1em 0 !important;
  }

  footer > select {
    margin: 1em 0 !important;
  }

  .login-condition {
    margin-left: 0;
  }
}
