/* Optout styling */

.optout {
  margin-top: 2rem;
  margin-bottom: 2rem;
    padding: 1rem;
  background-color: #dddddd;
    border-radius: 5px;
}

  .optout p {
    font-size: 0.75rem;
    line-height: 1.3rem;
  }

  .optout p .fa {
    margin-right: 0.3rem;
  }

.disclaimer {
  margin-top: 0.5rem;
  font-size: 0.6rem;
  line-height: 1.3rem;
  padding: 0 0.9rem;
}


#PrefWidget .prefHeader {
    padding: 1rem;
  background-color: #dddddd;
    border-radius: 5px;
}

  #PrefWidget .prefHeader p {
    font-size: 0.75rem;
    line-height: 1.3rem;
  }

  #PrefWidget .prefHeader p:last-child {
    margin: 0;
  }

  #PrefWidget .prefHeader p:first-child:before {
    font-family: FontAwesome;
    content: '\f023';
    margin-right: 0.4rem;
  }


/* Error alert styling */

.errAlert {
    background-color: #ab1e2b;
    color: #fff;
    border-radius: 4px;
    border: none;
    box-shadow: none;
    text-align: center;
    padding: 5px;
    margin-bottom: 15px;
}

    .errAlert p, .errAlert p strong {
        font-weight: 500;
        font-size: 0.9rem;
        margin: 0;
    }
    


/* Error fields styling */

.errMsg {
  display: inline-block;
  margin-top: 0.3rem;
  padding: 3px 8px;
  color: #ed1c24;
  border-radius: 4px;
}

.errMsg p {
  margin-bottom: 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02rem;
}

.err:focus {
  border-color: #ed1c24;
}

/* .form-err {
  background-color: #f8d7da;
} */ 
/* removed temporarily */

/* Field Border Styling */

.err {
  border: 1px solid #ed1c24;
}

.pass {
  border: 1px solid #09ba0c;
}

.warn {
  border: 1px solid coral;
}

/* Form styling */

.form-bg {
  background-color: #eee!important;
}

/* .ft-form, .quote-form, .demo-form {
  background-color: #eee!important;
} */

.form-group {
  padding: 0.2rem 0;
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
}

  .form-group label {
    padding-bottom: 0.3rem;
    font-size: .8rem;
  }

    .form-group label.req-field:after {
      content: '*';
      position: relative;
      display: inline-block;
      margin-left: 0.2rem;
      color: #ed1c24;
    }

    /* form validation icon stylings */
    .form-group.form-err:before {
      font-family: FontAwesome;
        content: '\f12a';
        position: relative;
        display: inline-block;
        float: right;
        border-radius: 20px;
        width: 20px;
        height: 20px;
        border: 3px solid #ed1c24;
        text-align: center;
        color: #ed1c24;
        font-size: .8rem;
        line-height: .8rem;
    }

    .form-group.form-pass:before {
      font-family: FontAwesome;
        content: '\f00c';
        position: relative;
        display: inline-block;
        float: right;
        border-radius: 20px;
        width: 20px;
        height: 20px;
        border: 3px solid #09ba0c;
        text-align: center;
        color: #09ba0c;
        font-size: .8rem;
        line-height: .8rem;
    }

    /* added a new info icon - Gad */
    .form-group.form-info:before {
      font-family: FontAwesome;
        content: '\f12a';
        position: relative;
        display: inline-block;
        float: right;
        border-radius: 20px;
        width: 20px;
        height: 20px;
        border: 3px solid #0c5fca;
        text-align: center;
        color: #0c5fca;
        font-size: .8rem;
        line-height: .8rem;
    }

    /* added warning icon - JD */
    .form-group.form-warn:before {
      font-family: FontAwesome;
        content: '\f12a';
        position: relative;
        display: inline-block;
        float: right;
        border-radius: 20px;
        width: 20px;
        height: 20px;
        border: 3px solid coral;
        text-align: center;
        color: coral;
        font-size: .8rem;
        line-height: .8rem;
    }

    .form-group.form-pass select, .form-group.form-pass input {
        transition: all 0.3s ease-in-out;
    }

    .form-group.form-err select, .form-group.form-err input  {
        transition: all 0.3s ease-in-out;
    }

    .form-group.form-info select, .form-group.form-info input  {
        transition: all 0.3s ease-in-out;
    }

    .form-group.form-warn select, .form-group.form-warn input  {
        transition: all 0.3s ease-in-out;
    }
    /* end of form validation icon stylings */


    .form-group label.lbl_checkbox {
      display: block;
      margin-left: 1.5rem;
    }

  .form-group input[name='00N3000000BjCM0'] {
    margin-top: 0.3rem;
    float: left;
  }

  .form-group input[name='Legal_Practioner_and_Trial_Usage_Confirm__c'] {
    margin-top: 0.3rem;
    float: left;
  }


.btn[type="submit"] {
  margin: 1.914rem auto;
}


/* tooltip stylings */
.tooltip {
  font-family: "Lato", "Roboto", "SegoeUI", "Helvetica Neue", "Helvetica", sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  z-index: 1;
  margin-left: 0.5rem;
}

.tooltip-inner {
    background-color: #e2e3e5;
    border-color: #d6d8db;
    color: #717171;
}

.tooltip.bs-tooltip-right .arrow:before {
    border-right: 15px solid #e2e3e5;
}

/* label stylings */
.no-bottom-margin {
  margin-bottom: 0;
}

.no-bottom-padding {
  padding-bottom: 0;
}

/* dropdown styles */
.form-group select option {
    color: #000 !important;
}

/* checkbox Stylings */
.cb {
  display: grid;
  column-count: 3;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-auto-rows: minmax(20px, 40px);
  column-gap: 10px;
    row-gap: 5px;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.cb input[type="checkbox"] {
  position: fixed;
  top: -9999999px;
}


.cb input[type="checkbox"]+label{
    transition: all 0.3s ease-in-out;
  font-size: 14px;
  line-height: 15px;
  padding: 4px 10px;
  background-color: #dadada;
  color: #767676;
  width: 100%;
  height: 100%;
  border-radius: 3px;
  cursor: pointer;
} 


.cb input[type="checkbox"]+label::before{ 
    transition: all 0.3s ease-in-out;
    display: inline-block;
  font-family: FontAwesome;
  content: '\f00c';
  color: #fff;
  font-size: 0px;
  top: 12px;
  width: 0;
  float: left;
}

.cb input[type="checkbox"]:checked+label{ 
  background-color: #848484;
  color: #fff;
} 

.cb input[type="checkbox"]:checked+label::before{ 
    top: 0;
    opacity: 1;
    width: 20px;
    height: inherit;
    font-size: 14px;
  margin-right: 2px;
}

/* font weight stylings */
.font-weight-lighter {
  font-weight: lighter !important;
}

.btn-margin {
  margin: 15px 0 !important;
}

/* book field stylings */

.form-margin {
  margin-top: 130px;
}

/* Titles requested icons */
.book-title-container {
  position: relative;
}

.book-title-container .error-icon {
  color: #ed1c24;
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #ed1c24;
    border-radius: 20px;
    text-align: center;
    font-size: .8rem;
    line-height: .8rem;
    top: 10px;
    right: 10px;
}

.book-title-container .pass-icon {
  color: #09ba0c;
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #09ba0c;
    border-radius: 20px;
    text-align: center;
    font-size: .8rem;
    line-height: .8rem;
    top: 10px;
    right: 10px;
}

.btn-prev, .btn-next, .btn-submit {
    min-width: 130px;
}

/* No. of students enrolled custom label */
.lbl-no-of-students-enrolled {
    font-size: .66rem !important;
    margin-bottom: 4px !important;
}