﻿/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 0;
}

body form {
    background-size: cover;
    background-repeat: no-repeat;

    background-size: cover;
    background-repeat: no-repeat;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 400px;
}

.rounded-icon {
    border: 1px solid;
    border-width: 1px;
    border-style: solid;
    display: inline-block;
    border-radius: 100px;
    width: 28px;
    height: 28px;
    text-align: center;
    padding-top: 3px;
}

.switch{
    display: inline-block;
    vertical-align: middle;
}

.logo-div{
    position: relative;
}

.logo-div .logoImgEnglish, .logo-div .logoImgFrench{
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    margin:auto;
}

.loginBackground {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    width:96%;
    margin-left:auto;
    margin-right:auto;
    max-width: 600px;
}

#forgotPasswordDiv {
    padding: 3% 3%;
}

#resetCodeDiv {
    padding: 1% 3%;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    
}

/* Large devices (large desktops, 992px and up)  */
@media (min-width: 992px) {
    /*.backgroundfields {
        margin-top:8%;
    }*/

    .backgroundfields {
        text-align:center;
    }

    .loginFieldColumn:nth-of-type(1) .backgroundfields {
        margin-top: 12%;
    }

    .backgroundfields p{
        display: inline-block;
        width: 300px;
        text-align: center;
    }

    .loginFieldColumn:nth-of-type(2) .backgroundfields p{
        margin-left: 25px;
    }

    input.cmn-toggle-round + label {
      padding: 2px;
      width: 70px;
      height:30px;
      background-color: #dddddd;
      border-radius: 60px;
    }
    input.cmn-toggle-round + label:after {
      width: 30px;
      background-color: #fff;
      border-radius: 100%;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
      transition: margin 0.4s;
    }
    input.cmn-toggle-round:checked + label:after {
      margin-left: 40px;
    }

    .btnreg{
        width:80%;
        font-weight : bolder;
    }

    .btn-grid:nth-of-type(1){
        text-align: center;
    }

    .btn-grid:nth-of-type(2){
        text-align: left;
        padding-left: 45px;
    }

    .userpasstext{
        color: rgb(152, 152, 152);
        padding-left:45px;
    }

    .logo-div{
        height: 35vh;
        text-align: center;
    }
   
}
/* Anything Smaller than Large   */
@media (max-width: 991px) {
    .loginFieldColumn:nth-of-type(1) .backgroundfields {
        margin-top: 12%;
    }

    .backgroundfields {
        text-align: center;
    }

    .body-content {
        padding-left: 4%;
        padding-right: 4%;
    }

    .form-control, .form-control-input {
        color: black;
    }

    input.cmn-toggle-round + label {
      padding: 2px;
      width: 40px;
      height:20px;
      background-color: #dddddd;
      border-radius: 60px;
    }
    input.cmn-toggle-round + label:after {
      width: 20px;
      background-color: #fff;
      border-radius: 100%;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
      transition: margin 0.4s;
    }
    input.cmn-toggle-round:checked + label:after {
      margin-left: 18px;
    }

    .btnreg {
        width:100%;
        font-weight: bold;
    }

    .userpasstext{
        color: rgb(152, 152, 152);
        font-size:0.8em;
    }
    
    .btn-grid{
        margin-bottom: 10px;
    }

    .logo-div{
        height: 25vh;
        text-align: center;
    }

    #forgotPasswordDiv{
        padding: 25% 0;
    }

    #resetCodeDiv{
        padding: 10% 10px;
    }
}

.form-control:focus, form-control-input:focus {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-radius: 0%;
}

.form-control, .form-control-input {
  border-radius: 0;
}

.form-inline .form-control {
    display: inline-block;
}

.loginBackground .divPanels, .loginBackground .form-control-input {
    width: 80%;
}



.cmn-toggle {
  position: absolute;
  margin-left: -9999px;
  visibility: hidden;
}
.cmn-toggle + label {
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  user-select: none;
}


input.cmn-toggle-round + label:before,
input.cmn-toggle-round + label:after {
  display: block;
  position: absolute;
  top: 1px;
  left: 1px;
  bottom: 1px;
  content: "";
}
input.cmn-toggle-round + label:before {
  right: 1px;
  background-color: #cccccc;
  border-radius: 60px;
  transition: background 0.5s;
}

input.cmn-toggle-round:checked + label:before {
  background-color: #cccccc;
}

/* Update password section */
.passwordFieldsDiv{
    left: 15px;
}

.passwordFieldsDiv input{
    display: inline-block;
    margin: 2px 0;
}

.passwordFieldsDiv input.textField{
    width:300px;
}

@media screen and (min-width:768px){
    .passwordFieldsDiv{
        width: 49%;
        vertical-align: top;
    } 
}

@media screen and (max-width: 767px) {
    .passwordFieldsDiv {
        text-align: center;
    }
}
.forgot-password-div {
    margin-bottom: 40px;
}

.switchRow {
    margin-top: 13px;
}