/* global comments */
/*@lrflex-dir
@rlflex-dir*/
.form-group {
  margin-bottom: 14px;
}
.form-control {
  height: 40px;
  padding: 0 14px;
  color: #002857;
  border: 1px solid #d0d8e1;
  border-radius: 3px;
  font-size: 16px;
  transition: none;
}
.form-control:focus {
  border-color: #002857;
  outline: 0;
  box-shadow: none!important;
}
.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
  color: #878991;
  background: #f5f5f5;
}
.form-control[disabled]:focus,
.form-control[readonly]:focus,
fieldset[disabled] .form-control:focus {
  border: 1px solid #d0d8e1;
}
.form-control.readonly-datepicker {
  cursor: pointer;
  color: #66778a !important;
  background-color: #ffffff !important;
}
select {
  cursor: pointer;
}
.checkbox-holder {
  margin: 7px 0;
  display: flex;
  align-items: baseline;
}
.checkbox-holder label {
  float: none;
  margin: 0;
  display: table-cell;
  padding: 0;
  vertical-align: top;
  cursor: pointer;
}
.checkbox-holder .controls {
  display: block;
  width: 35px;
  height: 20px;
  position: relative;
  /*!!! defined to be rtl/ltr !!!*/
  padding-left: 14px;
}
.controls.error + label,
.controls.error + label a {
  color: #ca0000;
}
.checkbox-holder .controls.error label {
  border-color: #ca0000;
}
.checkbox-holder .controls label {
  display: inline-block;
  position: relative;
  width: 20px;
  height: 20px;
  top: 0;
  left: 0;
  border: solid 1px #d0d8e1;
  border-radius: 3px;
  -webkit-box-shadow: inset 0px 0px 5px 2px #efefef 3px 5px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: inset 0px 0px 5px 2px #efefef 3px 5px rgba(0, 0, 0, 0.5);
  box-shadow: inset 0px 0px 5px 2px #efefef 3px 5px rgba(0, 0, 0, 0.5);
  background: #ffffff;
  margin-top: 0;
  cursor: pointer;
}
.checkbox-holder .controls label.disabled {
  cursor: not-allowed;
}
.checkbox-holder > label.disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.checkbox-holder label:after {
  content: '';
  position: absolute;
  width: 11px;
  height: 7px;
  background: transparent;
  top: 25%;
  left: 25%;
  top: calc((50%) - 5px);
  left: calc((50%) - 5px);
  border: 3px solid #002857;
  border-top: none;
  border-right: none;
  opacity: 0;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.checkbox-holder .controls input[disabled="disabled"]:not(:checked) ~ label,
.checkbox-holder .controls input[disabled="disabled"]:checked ~ label {
  opacity: 0.7;
  cursor: not-allowed;
}
.checkbox-holder .controls input[disabled="disabled"]:not(:checked) ~ label:hover:after {
  content: none;
}
.checkbox-holder input[type="checkbox"] {
  position: absolute;
  width: 14px;
  height: 14px;
  opacity: 0;
}
.checkbox-holder input[type="checkbox"][disabled] {
  width: 19px;
  height: 17px;
  cursor: not-allowed;
  margin: 0 auto;
}
.checkbox-holder input[type="checkbox"]:checked ~ label:after {
  opacity: 1;
}
.checkbox-holder input[type="checkbox"]:focus-visible ~ label {
  outline: 2px solid;
  outline-offset: 3px;
}
body[class^="rtl"] .checkbox-holder .controls label {
  right: 0;
}
input[type="checkbox"] {
  /*!!! defined to be rtl/ltr !!!*/
  margin: 0 0 0 5px;
}
.disabled-form-element .checkbox-holder {
  opacity: 0.5;
  cursor: not-allowed;
}
.disabled-form-element .checkbox-holder .controls ~ label {
  cursor: not-allowed;
}
.disabled-form-element.radio-holder {
  opacity: 0.5;
  cursor: not-allowed;
}
.disabled-form-element.radio-holder > label,
.disabled-form-element.radio-holder > label .controls input {
  cursor: not-allowed;
}
.checkbox-holder :not(.controls) label {
  width: 100%;
  margin: 0;
}
.checkbox-holder .controls + label input,
.checkbox-holder .controls + div input {
  height: 40px;
  /*!!! defined to be rtl/ltr !!!*/
  padding: 0 14px 0 14px;
}
input[type="radio"] {
  cursor: pointer;
  /*!!! defined to be rtl/ltr !!!*/
  margin: -3px 0 0 5px;
}
input[type="radio"] + label[for] {
  cursor: pointer;
}
.radio {
  /*!!! defined to be rtl/ltr !!!*/
  margin: 0 25px 0 0;
  cursor: pointer;
}
.radio input[type="radio"] {
  /*!!! defined to be rtl/ltr !!!*/
  margin: 3px -25px 0 0;
}
.radio-holder {
  margin: 7px 0;
}
.radio-holder label {
  text-align: right;
  margin: 0;
  cursor: pointer;
}
.radio-holder .controls {
  display: table-cell;
  position: relative;
  /*!!! defined to be rtl/ltr !!!*/
  padding-left: 14px;
}
.radio-holder .controls label {
  cursor: pointer;
  position: absolute;
  width: 24px;
  height: 24px;
  top: -2px;
  right: 0px !important;
  left: auto !important;
  float: none;
  margin: 0px;
  padding: 0px;
  border: 1px solid #d0d8e1;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  background: #ffffff;
}
.radio-holder .controls label:after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  top: 6px;
  right: 6px !important;
  left: auto !important;
  background: #002857;
  -webkit-border-radius: 100%;
  -khtml-border-radius: 100%;
  -moz-border-radius: 100%;
  -ms-border-radius: 100%;
  -o-border-radius: 100%;
  border-radius: 100%;
  opacity: 0;
}
.radio-holder input[type="radio"] {
  margin: 0 auto;
  width: 18px;
  height: 18px;
  opacity: 0;
  z-index: 1;
  position: relative;
  top: -1px;
  right: 3px !important;
  left: auto !important;
}
.radio-holder input[type=radio]:checked ~ label:after {
  opacity: 1;
  filter: alpha(opacity=100);
  border-color: #ffffff;
}
.radio-holder span {
  display: table-cell;
  padding: 0;
}
.radio-holder.inline-block {
  display: inline-block;
  /*!!! defined to be rtl/ltr !!!*/
  margin-left: 21px;
}
.form-label {
  color: #002857;
  margin-bottom: 14px;
}
textarea.form-control {
  resize: vertical;
  padding: 14px;
}
.browse-label {
  padding-bottom: 10px;
}
.file-upload-label {
  width: 100%;
}
.file-upload .form-control {
  width: 70%;
  float: right;
}
@media (max-width: 480px) {
  .file-upload .form-control {
    width: 100%;
    float: none;
  }
}
.file-upload > .fake-browse-input {
  position: relative;
  width: 70%;
  float: right;
  border: 1px solid #d0d8e1;
  padding: 0 26px 0 0px;
  background: #ffffff;
  border-radius: 3px;
}
.file-upload > .fake-browse-input.file-selected {
  font-weight: bold;
}
.file-upload input[disabled] + .fake-browse-input,
.file-upload > .fake-browse-input.disabled {
  background: transparent;
}
.file-upload .file-name {
  float: right;
  font-size: 16px;
  line-height: 1;
  color: #002857;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 9px 14px;
  width: 100%;
}
.file-upload .browse {
  width: 28%;
  float: left;
  padding: 9px;
  min-width: auto;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
  border: 1px solid #002857;
  border-radius: 3px;
  font-size: 16px;
  text-align: center;
  line-height: 1;
  color: #002857;
  cursor: pointer;
}
.clear-browse {
  position: absolute;
  top: 6px;
  left: 5px !important;
  right: auto !important;
  background: url('../../images/close.png') no-repeat center center;
  width: 24px;
  height: 24px;
  cursor: pointer;
}
.clear-browse:hover {
  text-decoration: none;
}
/*############# Select Dropdowns ##################### */
.btn-group.bootstrap-select > .btn:hover,
.btn-group.bootstrap-select > .btn:focus {
  background-color: #e6e6e6;
  z-index: 0;
  border-color: #cccccc;
}
.btn-group.bootstrap-select.open > .dropdown-toggle.btn-default {
  border-color: #cccccc;
}
.bootstrap-select.btn-group .btn .caret {
  display: none;
}
.dropdown-holder label:before {
  height: calc((100%) - 2px);
  border-left: none;
  border-right: none;
  border-radius: 3px;
}
.dropdown-holder label:after {
  background: none;
  top: calc((50%) - 7px);
  width: 10px;
  height: 10px;
  border-right: 2px solid #454a5a;
  border-top: 2px solid #454a5a;
  -moz-transform: rotate(134deg) skew(-1deg);
  -o-transform: rotate(134deg) skew(-1deg);
  -ms-transform: rotate(134deg) skew(-1deg);
  -webkit-transform: rotate(134deg) skew(-1deg);
  transform: rotate(134deg) skew(-1deg);
}
.dropdown-holder select.readonly-select {
  pointer-events: none;
  background: #f5f5f5;
  color: #878991;
  box-shadow: none;
  cursor: not-allowed;
}
.dropdown-holder select.readonly-select + label:before,
.dropdown-holder select.readonly-select + label:after {
  background: #f5f5f5 !important;
  border-left: none !important;
}
.dropdown-holder select.disabled + label:before,
.dropdown-holder select[disabled] + label:before,
.dropdown-holder select.readonly-select + label:before {
  background: #f5f5f5;
}
.dropdown-holder select.disabled + label:after,
.dropdown-holder select[disabled] + label:after,
.dropdown-holder select.readonly-select + label:after {
  border-color: #66778a;
}
/*############# End Select Dropdowns ##################### */
.small-gray-text {
  font-size: 0.9em;
  color: #66778a !important;
  margin-top: 3px;
}
@media (max-width: 768px) {
  .small-gray-text {
    display: block;
  }
}
.small-note {
  font-size: 0.9em;
  line-height: 1.2;
  color: #66778a !important;
  margin-top: 5px;
  margin-bottom: 5px;
}
/*############# Errors ##################### */
.error input,
.error select,
.input-validation-error {
  border: 1px solid #ca0000;
}
.error input:focus,
.error select:focus,
.input-validation-error:focus {
  border: 1px solid #ca0000;
}
label.error {
  color: #ca0000;
}
label.error a {
  color: #ca0000;
}
.error {
  color: #ca0000;
}
.error a {
  color: inherit;
}
.error .custom-dropdown {
  color: #66778a;
}
.input-validation-error.disabled {
  border: 1px solid #d0d8e1;
}
.file-upload .input-validation-error + .fake-browse-input {
  border-color: #ca0000;
}
/*############# End Errors ##################### */
.btn.browse {
  float: left;
}
/* password */
.at-password-field {
  position: relative;
}
.at-password-field > input {
  /*!!! defined to be rtl/ltr !!!*/
  padding-left: 35px;
}
.at-password-field::-ms-clear,
.at-password-field::-ms-reveal {
  display: none;
}
.toggle-password-visibility {
  position: absolute;
  left: 14px !important;
  right: auto !important;
  top: 12px;
  color: #002857;
  fill: #002857;
  font-size: 14px;
  cursor: pointer;
}
.at-password-field input[type="password"] + .toggle-password-visibility .fa-eye {
  display: none;
}
.at-password-field input[type="text"] + .toggle-password-visibility .fa-eye-slash {
  display: none;
}
input::-ms-reveal,
input::-ms-clear {
  display: none;
}
.rtl input[type="tel"],
.rtl input[type="number"] {
  direction: ltr;
}
/* open second account */
.platform-type {
  display: flex;
  margin-top: 14px;
}
@media (max-width: 768px) {
  .platform-type {
    flex-direction: column;
  }
}
.oa-platform-box {
  flex-basis: 50%;
  border: 1px solid #d0d8e1;
  padding: 14px;
  border-radius: 3px;
  font-size: 12px;
}
.oa-platform-box.selected {
  color: #002857;
  background: #e6eaef;
}
.oa-platform-box.disabled label {
  opacity: 0.5;
  cursor: not-allowed;
}
.oa-platform-box:not(.disabled):not(.selected):hover {
  background: #f5f5f5;
}
.oa-platform-box:nth-child(2),
.oa-platform-box:nth-child(3) {
  border-right: 0;
}
@media (max-width: 768px) {
  .oa-platform-box:nth-child(2),
  .oa-platform-box:nth-child(3) {
    border-right: 1px solid #d0d8e1;
    border-top: 0;
  }
}
.oa-platform-box label {
  width: 100%;
  cursor: pointer;
}
.oa-platform-box .radio-holder span {
  width: 100%;
  font-size: 16px;
  text-align: center;
  transform: translateX(-15px);
}
.rtl .oa-platform-box .radio-holder span {
  transform: translateX(15px);
}
.platform-image {
  display: block;
  width: 192px;
  max-width: 100%;
  margin: 14px auto;
}
/* at-searchable control */
.at-searchable {
  position: relative;
}
.at-searchable.form-control {
  padding: 0;
}
.at-searchable input {
  border: none;
  width: 100%;
  height: 100%;
  padding: 0 12px;
}
.at-searchable input:focus-visible {
  outline: none;
}
.at-searchable .custom-dropdown {
  top: 36px;
}
/* placeholder */
::-webkit-input-placeholder,
.form-control::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #66778a;
}
::-moz-placeholder,
.form-control::-moz-placeholder {
  /* Firefox 19+ */
  color: #66778a;
}
:-ms-input-placeholder,
.form-control:-ms-input-placeholder {
  /* IE 10+ */
  color: #66778a;
}
:-moz-placeholder,
.form-control:-moz-placeholder {
  /* Firefox 18- */
  color: #66778a;
}
@media (max-width: 767px) {
  input[type="checkbox"] ~ span {
    float: right;
  }
  .btn.browse {
    float: right;
    margin-bottom: 10px;
  }
  .file-upload .btn.browse {
    float: left;
  }
}
@media (max-width: 450px) {
  .file-upload > div {
    max-width: 100%;
    width: 100%;
  }
  .file-upload .btn.browse {
    margin-top: 10px;
    width: 100%;
  }
  .file-upload .browse {
    display: block;
    width: 100%;
    padding: 10px 0;
    margin: 7px 0;
  }
}
@media (max-width: 380px) {
  .btn.browse {
    margin-top: 10px;
  }
}
