/*
For pages based on the login page i.e. they will have a similar layout with
company logos etc.
*/

html, body, .wrapper {
    height: 100%;
    width: 100%;
}
.loginPageContainer {
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.companyLogo {
    display: block;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.systemLogo {
    max-width: 370px;
    margin: 0 auto;
    width: 100%;
    display: block;
    padding-top: 50px;
}
h1.logoText {
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0px;
    color: #1f3c55;
}

#helpButton {
    top: 20px;
}

label {
    font-size: 18px;
}
input[type="password"] {
    width: 100%;
    height: 35px;
    margin-top: 2px;
    box-sizing: border-box;
    font-size: 18px;
    margin-bottom: 10px;
}
a {
    text-decoration: underline;
}

/*-------------------Desktop view----------------------------------*/
@media screen and (min-width: 660px) {
    .middleSection {
        display: flex;
        justify-content: center;
    }

    /*For some reason on desktop view this was too far to the left*/
    #tooltip:after /* triangle decoration */ {
        margin-left: 0px;
    }
}
/*If desktop view and tall enough, show the PRE ENROLMENT text*/
@media screen and (min-width: 660px) and (min-height: 600px) {
    .companyLogo {
        max-width: 250px;
        margin: 0 auto;
        width: 100%;
        display: block;
        padding-top: 50px;
        padding-bottom:30px;
    }
    h1.logoText {
        display: block;
        margin-bottom:20px;
        font-size: 35px;
    }
}

/*If desktop view and screen not tall enough, make it scrollable*/
@media screen and (min-width: 660px) and (max-height: 450px) {
    .loginPageContainer {
        display: block;
    }
    /*If height is low on desktop it moves to the right, this stops it*/
    #tooltip:after /* triangle decoration */ {
        margin-left: -10px;
    }
}

/* ----------- iPhone 5, 5S, 5C and 5SE ----------- */

@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2) {
      .companyLogo{
          margin-top: 60px;
      }
}
/* ----------- iPhone 6, 6S, 7 and 8 ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2) { 
    .companyLogo{
          margin-top: 60px;
      }
}

/* ----------- iPhone 6+, 7+ and 8+ ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3) { 
      .companyLogo{
          margin-top: 60px;
      }
}

/* ----------- iPhone X ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3) { 
    .companyLogo{
          margin-top: 60px;
      }
}