/*digital*/
li.progress-step.is-active > span.progress-marker{    color: white !important;
    border: 4px solid green !important;
    background-color: green !important;
    opacity: 100% !important;
    width: 50px !important;
    height: 50px !important;}
.bpost_custom_webform .bpost_webform_progressbar .progress-step .progress-marker{opacity: 50%;}

li.progress-step.is-complete > span.progress-marker{opacity: 100% !important;}

/*digital*/

.tooltip{
  z-index: 100000;
}
.custom-webform-navigation .top-banner-title-wf-nav-parent{
  text-align: center;
  color: white;
  font-weight: 500;
  font-size: 24px;
}
.custom-webform-navigation .top-banner-title-wf-nav-parent img{
  width: 100%;
  height: 100%;
}
.custom-webform-navigation .top-banner-title-wf-nav-parent span{
  position: absolute;
}
.custom-webform-navigation  .field-top-banner-title-wf-nav{
  display: flex;
  height: inherit;
  align-items: center !important;
}
.custom-webform-navigation  .field-top-banner-title-wf-nav span{
  text-align: center;
  width: 100%;
}
.custom-webform-navigation .field-body-wf-nav{
  margin: 0 auto;
  background: white;
  padding: 25px;
  box-shadow: 0px 3px 6px lightgrey;
  border-radius: 4px;
  width: 70%;
  margin-top: -25px;
}
.custom-webform-navigation .top-banner-title-wf-conf-parent{
  height: 200px;
  text-align: center;
  background-color: #666;
  color: white;
  font-weight: 500;
  font-size: 24px;
}
.custom-webform-navigation  .field-top-banner-title-wf-nav, .custom-webform-navigation  .field-top-banner-title-wf-conf{
  display: flex;
  height: inherit;
  align-items: center !important;
}
.custom-webform-navigation  .field-top-banner-title-wf-nav span, .custom-webform-navigation  .field-top-banner-title-wf-conf span{
  text-align: center;
  width: 100%;
}
.custom-webform-navigation .field-body-wf-nav, .custom-webform-navigation .field-body-wf-conf{
  margin: 0 auto;
  background: white;
  padding: 25px;
  box-shadow: 0px 3px 6px lightgrey;
  border-radius: 4px;
  width: 70%;
  margin-top: -25px;
}
.custom-webform-navigation .field-body-wf-nav{
  margin-top: 0px;
  position: relative;
  top: -55px;
}
/* Webform template css start*/
.bpost_custom_webform .webform_title_parent {
  color: #FFF;
  position: relative;
  display: block;
  overflow: hidden;
}
.bpost_custom_webform .webform_title_parent img, .custom-webform-confirmation .webform_title_parent img{
  width: 100%;
  height: 100%;
}
.custom-webform-confirmation .top-banner-title-wf-conf-parent{
  margin: 20px 0px;
  text-align: center;
  color: #929198;
  line-height: 22px;
  font-size: 30px;
  font-family: "Ubuntu";
  font-weight: 500;
}
.custom-webform-confirmation .field--name-body{
  color: #9D9BA3;
  font-family: "Ubuntu";
  font-weight: 300;
}
.bpost_custom_webform h1.webform_title{
  font-size: 42px;
  color: #ffffff;
  font-family: Ubuntu;
  font-weight: 500;
}
.bpost_custom_webform h1.webform_title {
  width: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.bpost_custom_webform .bpost_webform_content .webform-elements, .bpost_custom_webform #edit-actions, .custom-webform-confirmation .field--name-body{
  width: 70%;
  margin: 0 auto;
  position: relative;
}
.bpost_custom_webform #edit-actions{
  display: flex;
  margin-top: 35px;
}
.bpost_custom_webform .webform-elements #edit-actions{
  width: 100%;
}
.bpost_custom_webform .bpost_webform_content .webform-elements{
  margin-top: 50px;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .form-item-input-custom {
  width: 100%;
  position: relative;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .js-webform-webform-entity-radios .form-type-radio.radio {
  display: inline;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .form-item.form-item-radio-with-images.radio {
  display: inline;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .form-item.webform-radios-other, .bpost_custom_webform .bpost_webform_content .webform-elements .webform-checkboxes-other{
  margin-bottom: 1rem;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .form-textarea-wrapper, .bpost_custom_webform .bpost_webform_content .webform-elements .select-wrapper{
  position: relative;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .wf_addressblock{
  width: auto;
}
.bpost_custom_webform .bpost_webform_progressbar .progress-step .progress-text{
  display: none;
}
.bpost_custom_webform .bpost_webform_progressbar .progress-step::after{
  background-color: transparent;
}
.bpost_custom_webform .bpost_webform_progressbar .progress-step .progress-marker{
  background-color: white;
  border: 4px solid #4195B9;
  color: #4195B9;
  font-size: 16px;
  font-family: Ubuntu;
  font-weight: 700;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 2px;
  transition: background-color, border-color;
  transition-duration: 0.3s;
}
.bpost_custom_webform .bpost_webform_progressbar .progress-step .progress-marker:before, 
.bpost_custom_webform .bpost_webform_progressbar .progress-step .progress-marker:after {
  content: unset;
}
.bpost_custom_webform .bpost_webform_progressbar li.progress-step.is-complete .progress-marker {
  background-color: #4195B9 !important;
  border: none;
  color: white !important;
}
.bpost_custom_webform .bpost_webform_progressbar.progress-tracker--center .progress-step{
  flex: none;
  display: inline-block;
  padding-right: 10px;
}
.bpost_custom_webform .bpost_webform_progressbar.progress-tracker--center .progress-step:last-child{
  flex-grow: unset;
}
.bpost_custom_webform .bpost_webform_progressbar.progress-tracker--center .progress-step:first-child{
  padding-left: 10px;
}
.bpost_custom_webform .bpost_webform_progressbar.webform-progress-tracker.progress-tracker{
  min-width: 50%;
  width: fit-content;
  max-width: 70%;
  display: block;
  text-align: center;
  position: relative;
  background: white;
  margin-top: -135px;
  padding: 15px 0;
  text-align: center;
  box-shadow: 0px 4px 12px lightgrey;
  border-radius: 4px;
}
.bpost_custom_webform .bpost_webform_progressbar.progress-tracker--center .progress-step.disabled{
  opacity:0.3;
  cursor: none;
}
.bpost_custom_webform .bpost_webform_progressbar.webform-progress-tracker .progress-step.is-active .progress-marker, .bpost_custom_webform .bpost_webform_progressbar.webform-progress-tracker .progress-step.is-active:hover .progress-marker{
  background-color: transparent;
}
.bpost_custom_webform .webform-button--next, .bpost_custom_webform .webform-button--submit{
  background: #EF2637;
  color: #FFF;
  font-size: 18px;
  line-height: 24px;
  font-family: Ubuntu;
  font-weight: 500;
  position: absolute;
  right: 0;
}
.bpost_custom_webform .webform-button--previous{
  color: #EF2637;
  font-size: 18px;
  line-height: 24px;
  font-family: Ubuntu;
  font-weight: 500;
  position: absolute;
  left: 0;
  padding-left: 0px;
}
.bpost_custom_webform .webform-button--previous:before{
  content: "\f053";
  font-family: 'Font Awesome 5 Pro';
  font-weight: 900;
  color: #ef2637;
  padding-right: 5px;
}
.bpost_custom_webform #edit-actions .btn-primary{
  border-color: unset;
}
.bpost_custom_webform .bpost_webform_content .webform-elements label{
  color: #5A5A5F;
  font-size: 14px;
  line-height: 20px;
  font-family: "Ubuntu";
  font-weight: 500;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .WfInput, .bpost_custom_webform .bpost_webform_content .webform-elements .WfTextArea, .bpost_custom_webform .bpost_webform_content .webform-elements .WfDate, .bpost_custom_webform .bpost_webform_content .webform-elements .CWfInput {
  height: 48px;
  color: #5A5A5F;
  font-size: 14px;
  line-height: 18px;
  font-family: "Ubuntu";
  font-weight: 400;
  margin-top: 0px;
  margin-bottom: 8px;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .WfTextArea{
  height: unset;
  min-height: 48px;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .WfSelect{
  min-height: 48px;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .error_webform .WfTextArea, .bpost_custom_webform .bpost_webform_content .webform-elements .error_webform .WfInput, .bpost_custom_webform .bpost_webform_content .webform-elements .has-error input, .bpost_custom_webform .bpost_webform_content .webform-elements .has-error textarea, .bpost_custom_webform .bpost_webform_content .webform-elements .has-error .WfSelect, .bpost_custom_webform .bpost_webform_content .webform-elements .error_webform .WfSelect, .bpost_custom_webform .bpost_webform_content .webform-elements .error_webform .WfDate, .bpost_custom_webform .bpost_webform_content .webform-elements .CWfInput.error {
  border: 1px solid #EF2637;
  margin-bottom: 8px;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .has-error .WfFileUplaod, .bpost_custom_webform .bpost_webform_content .webform-elements .error_webform.WfFileUplaod {
  border: 1px dashed #EF2637;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .success_webform.WfFileUplaod {
  border: 1px dashed #66A367;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .webform-composite-hidden-title > .panel-heading {
  display: none;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .success_webform .WfTextArea, .bpost_custom_webform .bpost_webform_content .webform-elements .success_webform .WfInput, .bpost_custom_webform .bpost_webform_content .webform-elements .success_webform .WfSelect, .bpost_custom_webform .bpost_webform_content .webform-elements .success_webform .WfDate, .bpost_custom_webform .bpost_webform_content .webform-elements .success_webform .CWfInput {
  border: 1px solid #66A367;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .error_webform:after , .bpost_custom_webform .bpost_webform_content .webform-elements .has-error .form-item-input-custom:after{
  font-family: "Font Awesome 5 Pro" !important;
  content: "\f05a";
  font-weight: 300;
  color: #EF2637;
  position: absolute;
  right: 14px;
  font-size: 20px;
  top: 10px;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .radio.error.has-error:after, .bpost_custom_webform .bpost_webform_content .webform-elements .checkbox.error.has-error:after{
  content: "";
}
.bpost_custom_webform .bpost_webform_content .webform-elements .checkbox.error.has-error input[type='checkbox']{
  border: 2px solid #D3D3D3;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .form-type-bpost-wf-custom-refbarcode{
  display: grid;
}
/*.bpost_custom_webform .bpost_webform_content .webform-elements .form-type-bpost-wf-custom-refbarcode .form-item--error-message{
  order: 1;
  border: 1px solid #EF2637 !important;
  padding: 20px !important;
  padding-left: 50px !important;
  color: #717176 !important;
  font-size: 16px !important;
  line-height: 24px !important;
  font-style: normal !important;
  border-radius: 8px;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .form-type-bpost-wf-custom-refbarcode .form-item--error-message:before{
  font-family: "Font Awesome 5 Pro" !important;
  content: "\f05a";
  font-weight: 300;
  color: #EF2637;
  position: absolute;
  left: 20px;
  font-size: 20px;
  top: 23px;
}*/
.bpost_custom_webform .bpost_webform_content .webform-elements .form-type-bpost-wf-custom-refbarcode label.control-label{
  order: 2;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .form-type-bpost-wf-custom-refbarcode .form-item-input-custom{
  order: 3;
} 
.bpost_custom_webform .bpost_webform_content .webform-elements .error_webform label.error, .bpost_custom_webform .bpost_webform_content .webform-elements .error_webform .wferror, .bpost_custom_webform .bpost_webform_content .webform-elements .form-item--error-message, .bpost_custom_webform .bpost_webform_content .webform-elements .alert.alert-danger, .bpost_custom_webform .bpost_webform_content .webform-elements label.error, .bpost_custom_webform .bpost_webform_content .wfradio.wferror, .bpost_custom_webform .bpost_webform_content .wfcheckbox.wferror, .bpost_custom_webform .bpost_webform_content .wffileUpload.wferror {
  background: none;
  border: 0;
  padding: 0;
  color: #EF2637;
  font-style: italic;
  font-size: 14px;
  line-height: 20px;
  font-family: "Ubuntu";
  font-weight: 500;
}
.bpost_custom_webform .bpost_webform_content .webform-elements label.success, .bpost_custom_webform .bpost_webform_content .webform-elements label.success {
  background: none;
  border: 0;
  padding: 0;
  color: #66A367;
  font-style: italic;
  font-size: 14px;
  line-height: 20px;
  font-family: "Ubuntu";
  font-weight: 500;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .form-item--error-message {
  background: transparent;
  border: 0;
  padding: 0;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .success_webform:after {
  font-family: "Font Awesome 5 Pro" !important;
  content: "\f058";
  font-weight: 300;
  color: #66A367;
  position: absolute;
  right: 14px;
  font-size: 20px;
  top: 10px;
}
/*Fix for country dropdown */
.bpost_custom_webform .bpost_webform_content .webform-elements .casper_Country .select-wrapper:after {
  right: 18px !important;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .casper_Country .has-error .form-item-input-custom:after {
  right: 18px !important;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .WfDateParent:after{
  font-family: "Font Awesome 5 Pro" !important;
  content: "\f073";
  font-weight: 500;
  color: #5A5A5F;
  position: absolute;
  right: 10px;
  font-size: 20px;
  top: 10px;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .WfDateParent.success_webform:after{
  content: "\f058";
  color: #66A367;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .WfDateParent.error_webform:after{
  content: "\f05a";
  color: #EF2637;
}
.bpost_custom_webform .bpost_webform_content .webform-elements input[type="time"]::-webkit-calendar-picker-indicator {
  background: none;
}
/* CSS for webform radio button */
.bpost_custom_webform .bpost_webform_content input[type='radio'] {
  -webkit-appearance:none;
  width:18px;
  height:18px;
  border:2px solid #D3D3D3;
  border-radius:50%;
  outline:none;
  position: relative;
  top: 3px;
  margin-right: 10px;
}
.bpost_custom_webform .bpost_webform_content input[type='radio']:before {
  content:'';
  display:block;
  width:60%;
  height:60%;
  margin: 20% auto;    
  border-radius:50%;    
}
.bpost_custom_webform .bpost_webform_content input[type='radio']:checked{
  border-color: #EF2637;
}
.bpost_custom_webform .bpost_webform_content input[type='radio']:checked:before {
  background:#EF2637;
}
/* CSS for webform checbox */
.bpost_custom_webform .bpost_webform_content input[type='checkbox'] {
  -webkit-appearance:none;
  width:18px;
  height:18px;
  border:2px solid #D3D3D3;
  outline:none;
  position: relative;
  top: 3px;
  margin-right: 10px;
}
.bpost_custom_webform .bpost_webform_content input[type='checkbox']:before {
  content:'';
  display:block;
}
.bpost_custom_webform .bpost_webform_content input[type='checkbox']:checked{
  border-color: #EF2637;
}
.bpost_custom_webform .bpost_webform_content input[type='checkbox']:checked:before {
  content: "\f00c";
  font-family: 'Font Awesome 5 Pro';
  font-weight: 900;
  color: #EF2637;
  width: 16px;
  height: 16px;
  font-size: 12px;
  position: absolute;
  top: -2px;
  left: 1px;
}
.bpost_custom_webform .bpost_webform_content .webform-options-display-buttons .form-item {
  display: inline-block;
  flex: 1;
}
.bpost_custom_webform .bpost_webform_content .webform-options-display-buttons .webform-options-display-buttons-wrapper:first-child {
  margin-left: 5px;
}
.bpost_custom_webform .bpost_webform_content .webform-options-display-buttons .webform-options-display-buttons-wrapper {
  margin: 0;
}
.bpost_custom_webform .bpost_webform_content .webform-options-display-buttons label.webform-options-display-buttons-label{
  border: 1px solid #D1D1D1;
  border-radius: 0;
  padding: 15px 10px;
  border-left: 0;
}
.bpost_custom_webform .bpost_webform_content .webform-options-display-buttons .webform-options-display-buttons-wrapper:first-child label {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-left: 1px solid #D1D1D1;
}
.bpost_custom_webform .bpost_webform_content .webform-options-display-buttons .webform-options-display-buttons-wrapper:last-child label {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.bpost_custom_webform .bpost_webform_content .webform-options-display-buttons .webform-options-display-buttons-wrapper label, .bpost_custom_webform .bpost_webform_content .webform-options-display-buttons label {
  font-size: 16px !important;
  font-weight: 400 !important;
  margin: 0px;
  width: 100%;
  display: block;
}
.bpost_custom_webform .bpost_webform_content .webform-options-display-buttons .form-item label{
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border: 1px solid #D1D1D1;
  padding: 15px 10px;
  width: inherit;
  text-align: center;
}
.bpost_custom_webform .bpost_webform_content .webform-options-display-buttons input{
  visibility: hidden;
}
.bpost_custom_webform .bpost_webform_content .webform-options-display-buttons label.control-label.option.selected {
  background: #EF2637;
  color: #FFF !important;
  border: 1px solid #EF2637;
}
.bpost_custom_webform .bpost_webform_content .webform-options-display-buttons .form-item:first-child label {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-left: 1px solid #D1D1D1;
}
.bpost_custom_webform .bpost_webform_content .webform-options-display-buttons .form-item:last-child label {
  border-radius: 4px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: 0;
}
.bpost_custom_webform .bpost_webform_content .webform-checkboxes-other .panel-title , .bpost_custom_webform .bpost_webform_content .webform-radios-other .panel-title, .bpost_custom_webform .bpost_webform_content .webform-entity-radios--wrapper .panel-title, .bpost_custom_webform .bpost_webform_content .bpost-wf-custom-radio-1--wrapper .panel-title, .bpost_custom_webform .bpost_webform_content .bpost-wf-custom-radio-2--wrapper .panel-title, .bpost_custom_webform .bpost_webform_content .bpost-wf-custom-radio-3--wrapper .panel-title, .bpost_custom_webform .bpost_webform_content .bpost-wf-custom-sending-info--wrapper .panel-title, .bpost_custom_webform .bpost_webform_content .bpost-wf-custom-collect-info--wrapper .panel-title,  .bpost_custom_webform .bpost_webform_content .bpost-wf-custom-distri-info--wrapper .panel-title{
  margin-bottom: .5rem;
}
.bpost_custom_webform .bpost_webform_content .bpost-wf-custom-collect-info--wrapper .webform-options-display-buttons, .bpost_custom_webform .bpost_webform_content .bpost-wf-custom-distri-info--wrapper .webform-options-display-buttons{
  margin: 0px;
}
.bpost_custom_webform .bpost_webform_content .js-webform-checkboxes label, .bpost_custom_webform .bpost_webform_content .js-form-type-radio label {
  color: #717176 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  cursor: pointer;
}
.bpost_custom_webform .bpost_webform_content .webform-options-display-buttons input:checked + label.webform-options-display-buttons-label{
  background: #EF2637;
  color: #FFF !important;
  border: 1px solid #EF2637;
}
/* Temporary for def radio need to remove when radio component created */
.bpost_custom_webform .bpost_webform_content .radios--wrapper .fieldset-legend{
  color: #5A5A5F;
  font-size: 14px;
  line-height: 28px;
  font-family: "Ubuntu";
  font-weight: 500;
}
/* .bpost_custom_webform .bpost_webform_content input[type="checkbox"]:focus + label::before {
  outline: rgb(59, 153, 252) auto 5px;
} */
/* Css for date and time picker */
.bootstrap-datetimepicker-widget.dropdown-menu {
  width: auto;
}

.timepicker-picker table td a span,
.timepicker-picker table td,
.timepicker-picker table td span {
  height: 20px !important;
  line-height: 20px !important;
  vertical-align: middle;
  width: 30px !important;
  padding: 0px !important;
}
.datepicker.datepicker-dropdown.dropdown-menu, .bootstrap-datetimepicker-widget.dropdown-menu{
  /*margin-top: 10px;*/
  min-width: 25rem;
}
.datepicker.datepicker-dropdown.dropdown-menu.datepicker-orient-left.datepicker-orient-top{
  margin-top:0px;
  margin-bottom: 10px;
}
.datepicker table{
  width: 100%;
}
.bootstrap-datetimepicker-widget.dropdown-menu{
  position: absolute;
}
.datepicker-dropdown.datepicker-orient-bottom:before, .datepicker-dropdown.datepicker-orient-bottom:after, .datepicker-dropdown.datepicker-orient-top:before, .datepicker-dropdown.datepicker-orient-top:after, .bpost_custom_webform .bpost_webform_content .webform-elements .bootstrap-datetimepicker-widget.dropdown-menu.bottom:before, .bpost_custom_webform .bpost_webform_content .webform-elements .bootstrap-datetimepicker-widget.dropdown-menu:before, .bootstrap-datetimepicker-widget.dropdown-menu:after{
  display: none;
}
.datepicker .datepicker-switch, .datepicker .next, .datepicker .prev, .datepicker tfoot tr th {
  cursor: pointer;
  font-family: Ubuntu;
  font-weight: 700;
  color: #2C3135;
  font-size: 16px;
}
.datepicker table span.active, .datepicker table td.active {
  background: #EF2637 !important;
  color: #FFF !important;
}
.datepicker table tr td.day:hover, .datepicker table tr td span:hover, .datepicker span.month.focused.active:hover {
  background-color: transparent;
  background: #EF2637 !important;
  color: #FFF !important;
}
.datepicker table tr td.disabled.day:hover {
  opacity: 0.5;
  cursor: not-allowed !important;
}
.datepicker .datepicker-switch:hover, .datepicker .next:hover, .datepicker .prev:hover, .datepicker tfoot tr th:hover, .datepicker table tr td span.focused, .datepicker table tr td.day.focused{
  background: transparent;
}
.datepicker th.dow {
  font-weight: 700 !important;
}
.datepicker th.dow , .datepicker td, .datepicker th{
  font-family: Ubuntu;
  font-weight: 300;
  color: #5A5A5F;
  font-size: 14px;
}
th.prev i {
  font-weight: 400;
}
.datepicker th.next .fa-greater-than:before {
  content: "\f536";
  font-family: "Font Awesome 5 Pro";
  content: "\F054";
  font-weight: 400;
  color: #2C3135;
}
.datepicker th.prev .fa-less-than:before{
  font-family: "Font Awesome 5 Pro";
  content: "\f053";
  font-weight: 400;
  color: #2C3135;
}
.datepicker th.next{
  -webkit-mask-image: none;
  background: none;
}
.datepicker table tr td.today:hover{
  color: #5A5A5F;
}
.datepicker table tr td.today.active,
.datepicker table tr td span.month.focused.active,
.datepicker table tr td span.year.focused.active {
  color: #FFFFFF !important;
  background: #EF2637 !important;
}
.datepicker table td.today.day{
  background: transparent !important;
}
.datepicker table td.today.day, .datepicker table span.month.focused, .datepicker table span.year.focused {
  color: #5A5A5F !important;
  font-family: Ubuntu;
  font-weight: 700;
}
.timepicker-picker .fa-chevron-up:before, .timepicker-picker .fa-chevron-down:before{
  font-family: "Font Awesome 5 Pro";
  font-weight: 400;
  color: #2C3135;
}
.bootstrap-datetimepicker-widget table td {
  height: 40px !important;
  line-height: 50px;
  width: 40px !important;
  padding: 0px !important;
}
.bootstrap-datetimepicker-widget tr{
  display: table-row !important;
  padding: 0px !important;
}
.bootstrap-datetimepicker-widget table td span:hover, .bootstrap-datetimepicker-widget table td.day:hover, .bootstrap-datetimepicker-widget table td.hour:hover, .bootstrap-datetimepicker-widget table td.minute:hover, .bootstrap-datetimepicker-widget table td.second:hover{
  background: none !important;
}
.bootstrap-datetimepicker-widget .timepicker-hour, .bootstrap-datetimepicker-widget .timepicker-minute, .bootstrap-datetimepicker-widget .timepicker-second {
  font-family: "Ubuntu";
  font-size: 14px;
  color: #5A5A5F;
}
/* Webform template css start*/
/* CSS for image field */
.WfFileUplaod {
  padding: 20px;
  border: 1px dashed #979797;
}
.WfFileUplaod input{
  border: 0px;
  height: 100%;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .WfFileUplaod .form-item{
  display: block;
  width: auto;
}
.WfFileUploadDesign, .WfDescription, .WfFileUplaod span.file-size, .bpost_custom_webform .hide_webform, .WfCrossIcon {
  display: none;
}
.WfFileUplaod .WfFileUploadDesign, .bpost_custom_webform .bpost_webform_content .webform-elements .WfDescription{
  display: block;
}
.WfFileUplaod p.WfFileUploadClick , .WfFileUplaod .WfFileUploadDesign, .bpost_custom_webform .bpost_webform_content .webform-elements .WfDescription, .WfFileUplaod span.file-link a {
  color: #ACACAF;
  font-family: Ubuntu;
  font-weight: 400;
  font-size: 14px;
}
.WfFileUplaod .WfFileUploadDesign{
  cursor: pointer;
}
.WfFileUplaod .click_here{
  color: #EF2637;
}
.WfFileUplaod span.file-link a {
  color: #ACACAF;
}
.WfFileUplaod {
  position: relative;
  overflow: hidden;
}
.WfFileUplaod input[type=file] {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 40px;
  text-align: right;
  filter: alpha(opacity=0);
  opacity: 0;
  outline: none;
  background: white;
  cursor: pointer;
  display: block;
}
.WfFileUplaod button:last-of-type {
  position: relative;
  z-index: 99999;
}
.WfFileUplaod .WfSpinner {
  margin-left: 10px;
  display: none;
  /*position: absolute;
  top: 25px;*/
}
.bpost_custom_webform .bpost_webform_content .webform-elements .webform-options-display-radio-toggle > .form-item {
  flex: 1;
  width: auto;
  text-align: center;
  border: 1px solid #D1D1D1;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .webform-options-display-radio-toggle > .form-item:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .webform-options-display-radio-toggle > .form-item:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
/* CSS for composite component start */
.custom_composite_component .webform-multiple-table table{
  position: relative;
}
.custom_composite_component .webform-multiple-table table thead, .custom_composite_component .table-responsive .tabledrag-toggle-weight, .custom_composite_component .webform-multiple-add.js-webform-multiple-add, .custom_composite_component td.webform-multiple-table--handle {
  display: none;
}
.custom_composite_component .webform-multiple-table table{
  overflow: hidden;
}
.custom_composite_component .webform-multiple-table .image-button.btn-danger, .custom_composite_component .webform-multiple-table .image-button:last-child{
  position: absolute;
  top: 0px;
  right: 0px;
  right: 0px;
  background: transparent;
  border: 0;
  color: #dc3545;
}
.custom_composite_component .webform-multiple-table .image-button.btn-success, .custom_composite_component .webform-multiple-table .image-button:first-child {
  position: absolute;
  bottom: -5px;
  right: 0px;
  background: none;
  border: 0;
  color: #5A5A5F;
  font-family: "Ubuntu";
  font-weight: 400;
  font-size: 16px;
  height: 36px;
}
.custom_composite_component .webform-multiple-table .image-button.btn-danger:focus, .custom_composite_component .webform-multiple-table .image-button:focus, .custom_composite_component .webform-multiple-table .image-button.btn-success:focus, .custom_composite_component .webform-multiple-table .image-button:focus{
  box-shadow: none !important;
}
.bpost_webform_content .webform-elements .bpost-wf-bcc .row.wf_radioblock label.error {
  display: none !important;
}
.custom_composite_component .bpost-wf-bcc {
  border-top: 1px #979797 solid;
  border-bottom: 1px #979797 solid;
}
.custom_composite_component .bpost-wf-bcc > .row:first-child {
  padding-top: 20px;
}
.custom_composite_component .bpost-wf-bcc .row:last-child {
  padding-bottom: 20px;
}
.custom_composite_component .webform-multiple-table .image-button.btn-danger:before, .custom_composite_component .webform-multiple-table .image-button:last-child:before {
  content: "\f2ed";
  font-family: 'Font Awesome 5 Pro';
}
.custom_composite_component .webform-multiple-table .image-button.btn-success:after, .custom_composite_component .webform-multiple-table .image-button:first-child:after {
  content: "\f067";
  font-family: 'Font Awesome 5 Pro';
  color: white;
  background: #EF2637;
  border-radius: 50%;
  margin-left: 5px;
  padding: 5px;
}
.custom_composite_component .webform-multiple-table table tr{
  background: none
}
.custom_composite_component .webform-multiple-table table td {
  border: 0;
  width: inherit;
  height: inherit;
  position: relative;
  padding: 30px 0px;
  display: table-cell;
  top: 0;
}
/* CSS for composite component end */
.messages__wrapper .alert.alert-danger{
  display: none;
}
/* Code change for TRC-1610 webform styling start */
.bpost_custom_webform .bpost_webform_content input[type='radio']:hover {
  background: rgb(254 239 240 / 100%);
  box-shadow: 0 0 0 0.3rem rgb(254 239 240 / 100%);
  cursor: pointer;
}
.bpost_custom_webform .bpost_webform_content input[type='radio']:checked:hover{
  border: 2px solid #EF2637;
  cursor: pointer;
}
.bpost_custom_webform .bpost_webform_content .webform-options-display-buttons input{
  visibility: unset;
}
.bpost_custom_webform .bpost_webform_content .webform-options-display-buttons .selected input[type='radio']{
  border-color: white;
}
.bpost_custom_webform .bpost_webform_content .webform-options-display-buttons input[type='radio']:checked:before{
  background: white;
}
.bpost_custom_webform .bpost_webform_content .webform-options-display-buttons input[type='radio']:hover{
  background: rgb(254 239 240 / 100%);
  box-shadow: 0 0 0 0.3rem rgb(254 239 240 / 100%);
  cursor: pointer;
}
.bpost_custom_webform .bpost_webform_content .webform-options-display-buttons .selected input[type='radio']:checked:hover{
  border: 2px solid white;
  box-shadow:none;
  background: unset;
  cursor: pointer;
}
.bpost_custom_webform .bpost_webform_content input[type='checkbox']:hover {
  background: rgb(254 239 240 / 100%);
  border-color: #CDCDCF;
  box-shadow: 0 0 0 0.3rem rgb(254 239 240);
  cursor: pointer;
}
.bpost_custom_webform .bpost_webform_content input[type='checkbox']:checked{
  border-color: #EF2637 !important;
  /* background: rgb(254 239 240 / 100%);
  box-shadow: 0 0 0 0.3rem rgb(254 239 240); */
}
.bpost_custom_webform .bpost_webform_content .webform-elements .WfInput:hover, .bpost_custom_webform .bpost_webform_content .webform-elements .WfTextArea:hover, .bpost_custom_webform .bpost_webform_content .webform-elements .WfDate:hover, .bpost_custom_webform .bpost_webform_content .webform-elements .CWfInput:hover{
  background: #F2F2F2;
  border-color: #5A5A5F !important;
}
.bpost_custom_webform .bpost_webform_content .webform-elements .WfInput:focus, .bpost_custom_webform .bpost_webform_content .webform-elements .WfTextArea:focus, .bpost_custom_webform .bpost_webform_content .webform-elements .WfDate:focus, .bpost_custom_webform .bpost_webform_content .webform-elements .WfInput:active, .bpost_custom_webform .bpost_webform_content .webform-elements .WfTextArea:active, .bpost_custom_webform .bpost_webform_content .webform-elements .WfDate:active, .bpost_custom_webform .bpost_webform_content .webform-elements .CWfInput:focus{
  box-shadow: none;
  border-color: #549FC0 !important;
  border-width: 2px;
  background: none
}
.bpost_custom_webform .bpost_webform_content .webform-elements .WfInput:disabled, .bpost_custom_webform .bpost_webform_content .webform-elements .WfTextArea:disabled, .bpost_custom_webform .bpost_webform_content .webform-elements .WfDate:disabled{
  pointer-events: none;
}
.bpost_custom_webform .bpost_webform_content pre.helper_text {
  display: inline;
  color: #757575;
  margin-bottom: 0;
  font-size: 14px;
  font-family: "Ubuntu";
  line-height: 20px;
  font-weight: 400;
}
.bpost_custom_webform .bpost_webform_content pre.counter_letter {
  display: inline;
  color: #757575;
  margin-bottom: 0;
  position: absolute;
  right: 0;
  font-size: 14px;
  font-family: "Ubuntu";
  line-height: 20px;
  font-weight: 400;
}
.bpost_custom_webform .bpost_webform_content pre.change_counter {
  margin-bottom: 0;
  display: initial;
  font-size: 14px;
  font-family: "Ubuntu";
  line-height: 20px;
  font-weight: 400;
  color: #757575;
}
/* Code change for TRC-1610 webform styling end */

/* Code change start for casper validation TRC-1608 */
.bpost_custom_webform .bpost_webform_content .casperValidationModalParent {
  z-index: 100000;
}
.bpost_custom_webform .bpost_webform_content .casperValidationModalParent .close{
  color: #5A5A5F;
  font-weight: normal;
  font-size: 30px;
  opacity: unset;
  line-height: unset;
}
.bpost_custom_webform .bpost_webform_content .casperValidationModalParent .modal-body-child.container {
  padding: 0px 25px;
}
.bpost_custom_webform .bpost_webform_content .casperValidationModalParent .casperValidationTitle{
  text-align: center;
  color: #5A5A5F;
  font-family: 'Ubuntu';
  font-weight: 500;
  font-size: 24px;
  line-height: 30px;
  margin-bottom: 40px;
}
.bpost_custom_webform .bpost_webform_content .casperValidationModalParent .table th, .bpost_custom_webform .bpost_webform_content .casperValidationModalParent .table td{
  border-top: 0px;
}
.bpost_custom_webform .bpost_webform_content .casperValidationModalParent .userAddress{
  background: #F8F8F8;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
}
.bpost_custom_webform .bpost_webform_content .casperValidationModalParent .userAddress .table th, .bpost_custom_webform .bpost_webform_content .casperValidationModalParent .userAddress .table td{
  color: #5A5A5F;
  font-size: 16px;
  font-family: 'Ubuntu';
  font-weight: 400;
  line-height: 24px;
}
.bpost_custom_webform .bpost_webform_content .casperValidationModalParent .addModify, .bpost_custom_webform .bpost_webform_content .casperValidationModalParent .addUse, .bpost_custom_webform .bpost_webform_content .casperValidationModalParent .errorMessage{
  color: #EF2637;
  font-family: 'Ubuntu';
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
}
.bpost_custom_webform .bpost_webform_content .casperValidationModalParent .subHeading{
  color: #4195B9;
  line-height: 24px;
  font-size: 18px;
  font-weight: 500;
  font-family: 'Ubuntu';
}
.bpost_custom_webform .bpost_webform_content .casperValidationModalParent .casperSuggestion {
  border: 1px solid #DBDBDB;
  border-radius: 8px;
}
.bpost_custom_webform .bpost_webform_content .casperValidationModalParent tbody tr.trClick{
  cursor: pointer;
}
.bpost_custom_webform .bpost_webform_content .casperValidationModalParent .casperSuggestion thead th {
  color: #5A5A5F;
  font-size: 14px;
  font-family: 'Ubuntu';
  font-weight: 400;
  border-bottom: 1px solid #979797;
  padding-top: 14px;
  padding-bottom: 14px;
}
.bpost_custom_webform .bpost_webform_content .casperValidationModalParent tbody th, .bpost_custom_webform .bpost_webform_content .casperValidationModalParent tbody td {
  color: #5A5A5F;
  line-height: 24px;
  font-size: 16px;
  font-family: 'Ubuntu';
  font-weight: 400;
  padding-bottom: 20px;
  padding-top: 20px;
}
.bpost_custom_webform .bpost_webform_content .casperValidationModalParent tbody tr:nth-child(even) {
  background: #F8F8F8;
}
.bpost_custom_webform .bpost_webform_content .casperValidationModalParent .suggestionRadio input{
  margin-right: 0;
}
.bpost_custom_webform .bpost_webform_content .casperValidationModalParent .noAddFound{
  color: #5A5A5F;
  font-family: 'Ubuntu';
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  width: 100%;
  text-align: center;
}
.bpost_custom_webform .bpost_webform_content .casperValidationModalParent .addSelect{
  color: #EF2637;
  font-family: 'Ubuntu';
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  cursor: pointer;
}
.bpost_custom_webform .bpost_webform_content .casperValidationModalParent .addSelect:after, .bpost_custom_webform .bpost_webform_content .casperValidationModalParent .addUse:after{
  font-family: "Font Awesome 5 Pro";
  content: "\F054";
  font-weight: 500;
  color: #EF2637;
  position: relative;
  padding-left: 5px;
  top: 1px;
}
/* TRC-3481 Retail webform - selcet dropdown with chosen JS design*/
.chosen_dropdown .chosen-container a.chosen-single {
  min-height: 48px;
  line-height: 48px;
  border-color: #ced4da;
  background: none;
  box-shadow: none;
  font-size: 1rem;
}
.chosen_dropdown .chosen-container a.chosen-single div {
  top: 15px;
}
/* END - TRC-3481 */
/* START - TRC-5428 */

.bpost_custom_webform .bpost_webform_content .webform-progress-wrapper{
 min-width: 50%;
 width: fit-content;
 max-width: 70%;
 display: block;
 padding: 1.25rem;
 text-align: center;
 box-shadow: 0px 4px 12px lightgrey;
 border-radius: 2rem;
 margin: 40px auto;
 margin-top: -135px;
 position: relative;
 background: white;
}
.bpost_custom_webform .bpost_webform_content .progress {
  border-radius: 1rem;
  height: 1rem;
}
.bpost_custom_webform .bpost_webform_content .progress-bar {
  border-radius: 1rem;
}
.bpost_custom_webform .bpost_webform_content .form-type-bpost-wf-custom-checkbox-1 input,
.bpost_custom_webform .bpost_webform_content .form-type-bpost-wf-custom-checkbox-2 input,
.bpost_custom_webform .bpost_webform_content .form-type-bpost-wf-custom-checkbox-3 input,
.bpost_custom_webform .bpost_webform_content .form-type-bpost-wf-custom-checkbox-4 input {
  border-radius: inherit;
  display: inline;
  float: right;
  margin-right: 0;
}
.bpost_custom_webform .bpost_webform_content .form-type-bpost-wf-custom-checkbox-1 label,
.bpost_custom_webform .bpost_webform_content .form-type-bpost-wf-custom-checkbox-2 label,
.bpost_custom_webform .bpost_webform_content .form-type-bpost-wf-custom-checkbox-3 label,
.bpost_custom_webform .bpost_webform_content .form-type-bpost-wf-custom-checkbox-4 label {
  display: inline;
  font-weight: 300 !important;
}
/* END - TRC-5428 */
/* TRC-10285 DSR Form */
.webform-submission-ik-wil-mijn-persoonlijkegegeven-form #edit-step-2 .verify-email, .webform-submission-ik-wil-mijn-persoonlijkegegeven-form .casper-button, .edit-get-code-button .verify-email {
  font-size: 18px !important;
  border-radius: 4px;
  color: #FFFFFF !important;
  cursor: pointer;
  background: #EF2637;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.webform-submission-ik-wil-mijn-persoonlijkegegeven-form  #edit-step-2 .form-item-email-address, #edit-verification-code--description {position: relative;}
.webform-submission-ik-wil-mijn-persoonlijkegegeven-form  #edit-step-2 .form-item-verification-code, .form-item-verification-code, .form-item-verification-code2 {display: none;}
.webform-submission-ik-wil-mijn-persoonlijkegegeven-form #edit-cancel, #edit-actions, #edit-bpost-customer {text-align: center;}
.webform-submission-ik-wil-mijn-persoonlijkegegeven-form  #edit-step-2 .webform-button--submit {width: 100%;background-color: #EF2637;border-color: #EF2637;}
.webform-submission-ik-wil-mijn-persoonlijkegegeven-form .form-item-is-employee{
  margin: 24px 0 24px 0;
}
.webform-submission-ik-wil-mijn-persoonlijkegegeven-form .casper-button.validated {
  background: #008000;
}
.webform-submission-ik-wil-mijn-persoonlijkegegeven-form .casper-button.partial-validated {
  background: #FF9800 !important;
}
/* LOADING image on body */
.loader-full-page {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(12, 5, 5, 0.8) url('../images/ajax-loader.gif') 50% 50% no-repeat;
}
/* When the body has the loading class, we turn the scrollbar off with overflow:hidden */
body.loading .loader-full-page {
  overflow: hidden;   
}
/* Anytime the body has the loading class, our loader element will be visible */
body.loading .loader-full-page {
  display: block;
}
.bpost_custom_webform .bpost_webform_content #webform-submission-ik-wil-mijn-persoonlijkegegeven-add-form .webform-elements .WfInput {
  margin-bottom: 4px;
}
.messages__wrapper .alert-warning span {   
  position: absolute;
  padding-left: 730px;
  cursor: pointer;
}
.webform-submission-ik-wil-mijn-persoonlijkegegeven-form .form-type-checkbox.has-error input {
  margin-bottom: 0px !important;
}
.webform-submission-ik-wil-mijn-persoonlijkegegeven-form .webform-flexbox {
  margin-bottom: 0px !important;
  margin: 0em -0.5em !important;
  }

.webform-submission-ik-wil-mijn-persoonlijkegegeven-form #edit-step-2 .verify-email.disabled {
  opacity: .65;
  pointer-events: none;
  }
@media only screen and (max-width: 767px) {
  .webform-submission-ik-wil-mijn-persoonlijkegegeven-form .old-data-line,.webform-submission-ik-wil-mijn-persoonlijkegegeven-form .new-data-line{
    display: none;
  }
}
@media only screen and (min-width: 767px) {
  .webform-submission-ik-wil-mijn-persoonlijkegegeven-form .old-data-line-mobile,.webform-submission-ik-wil-mijn-persoonlijkegegeven-form .new-data-line-mobile {
    display: none;
  }
}
/* End - TRC-10285 DSR Form */
/* Start - fix for INC0413643 : issue display Next/previous button */
@supports (-webkit-touch-callout: none) {
  .bpost_custom_webform #edit-actions {
    display: inline-block;
  }
}
/* END - fix for INC0413643 : issue display Next/previous button */
/* Code change end for casper validation TRC-1608 */
@media only screen and (max-width: 767px) {
  /* Code change start for casper validation TRC-1608 */
  .casperSuggestion table{
    word-wrap: break-word;
  }
  /* Code change end for casper validation TRC-1608 */
  .custom-webform-navigation .field-body-wf-nav{
    top: -10px;
  }
  .bpost_custom_webform h1.webform_title {
    width: 100%;
    text-align: left;
    padding: 0 15px;
  }
  .bpost_custom_webform .bpost_webform_content .webform-elements, .bpost_custom_webform #edit-actions, .custom-webform-confirmation .field--name-body{
    width: 100%;
  }
  .bpost_custom_webform h1.webform_title{
        font-size: 15px !important;
    line-height: 18px !important;
    text-align: center !important;
    top: 35% !important;
  }
  .bpost_custom_webform .bpost_webform_progressbar .progress-step .progress-marker{
    font-size: 10px;
    border: 2px solid #4195B9;
    width: 20px;
    height: 20px;
  }
  .bpost_custom_webform .bpost_webform_progressbar.webform-progress-tracker.progress-tracker{
    min-width: 100%;
    width: 100%;
    padding: 10px 0;
    margin-top: -75px;
  }
  .bpost_custom_webform .bpost_webform_progressbar.progress-tracker--center .progress-step:first-child{
    padding-left: 0px;
  }
  .bpost_custom_webform .bpost_webform_content .webform-options-display-buttons .webform-options-display-buttons-wrapper:first-child{
    margin: 0px;
  }
  
  li.progress-step.is-active > span.progress-marker{    
    width: 30px !important;
    height: 30px !important;
  }
 .bpost_custom_webform .bpost_webform_content .webform-progress-wrapper{
   min-width: 100%;
   margin-top: -75px;
 }
  
  
  
}
/* Media query only for Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  .bpost_custom_webform h1.webform_title {
    width: inherit;
    text-align: left;
    padding: 0 15px;
    max-width: inherit;
  }
  .bpost_custom_webform .bpost_webform_content .webform-elements, .bpost_custom_webform #edit-actions, .custom-webform-confirmation .field--name-body {
    width: 100%;
  }
  .bpost_custom_webform h1.webform_title{
    font-size: 24px;
    line-height: 30px;
  }
  .bpost_custom_webform .bpost_webform_progressbar.webform-progress-tracker.progress-tracker{
    width: 100%;
    min-width: 100%;
    margin-top: -110px;  
  }
  .bpost_custom_webform .bpost_webform_progressbar.progress-tracker--center .progress-step:first-child{
    padding-left: 0px;
  }
 .bpost_custom_webform .bpost_webform_content .webform-progress-wrapper{
   min-width: 100%;
   margin-top: -110px;
 }
}

.wfcomponent-postoffice-red-icon {
  padding: 20px 20px 20px 0;
}
.form-type-bpost-wf-custom-selectpostoffice {
  width: 50%;
  display: inline-block;
  margin-bottom: 2rem;
}
.form-type-bpost-wf-custom-selectpostoffice label {
  color: #5A5A5F;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
}
.wfcomponent-postoffice-autocomplate-wrapper.ui-menu li.ui-menu-item:first-child {
  margin-top: 0 !important;
}
.wfcomponent-postoffice-autocomplate-wrapper.ui-menu li.ui-menu-item a:after {
  content: '';
}
.wfcomponent-postoffice-autocomplate-wrapper {
  max-height: 155px;
  overflow-y: auto;
}
.form-type-bpost-wf-custom-selectpostoffice .counter_letter {
  display: none !important;
}