/****
* Description: This file is created for COD Application
***/

#list-tab > h5 {
  margin-top: 6px;
}
ul.side-menu_sub-menu {
  padding: 0;
  padding-top: 6px;
  padding-left: 20px;
  list-style: none;
}
ul.side-menu_sub-menu li a {
  color: #444444;
}
ul.side-menu_sub-menu > li.active > a {
  text-decoration: underline;
  border-bottom: 2px solid #0077BB;
}
ul.side-menu_sub-menu li ul li.active a,
ul.side-menu_sub-menu li ul li.active a:hover {
  color: #0077BB;
  font-weight: bold;
}
ul.side-menu_sub-menu li ul li a[href]:hover {
  color: #0077BB;
}
ul.side-menu_sub-menu ul {
  list-style: disc;
  padding-left: 20px;
}

.timeline_wrapper {
  display: flex;
  justify-content: center;
  margin-top: -50px;
}
.cod_timeline_progress {
  padding: 0;
  display: flex;
  list-style: none;
  margin-bottom: 40px;
}
.cod_timeline_progress li {
  width: 106px;
  margin: 0 1px;
  font-size: 15px;
  line-height: 18px;
  position: relative;
  text-align: center;
  padding: 34px 10px 0 10px;
}
.cod_timeline_progress li span:before {
  top: 10px;
  left: 0;
  right: 0;
  z-index: 2;
  content: '';
  width: 15px;
  height: 7px;
  margin: auto;
  position: absolute;
  transform: rotate(-45deg);
  border-left: 2px solid #FFF;
  border-bottom: 2px solid #FFF;
}
.cod_timeline_progress li:before,
.cod_timeline_progress li:after {
  content: '';
  z-index: 1;
  position: absolute;
}
.cod_timeline_progress li:before {
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0077BB;
  border: 2px solid #0077BB;
}
.cod_timeline_progress li.step_current:before,
.cod_timeline_progress li.step_current + li.step_current:before {
  background: #FFF;
  border: 3px solid #0077BB !important;
}
.cod_timeline_progress li.step_current ~ li:before {
  background: #FFF;
  border-color: #bbbbbb;
}
.cod_timeline_progress li.step_current:last-child:before {
  background: #0077BB;
  border: 3px solid #0077BB;
}
.cod_timeline_progress li:after {
  top: 14px;
  width: 72px;
  height: 2px;
  right: calc(50% + 18px);
  background: #0077BB;
}
.cod_timeline_progress li.step_current ~ li:after {
  background: #bbbbbb;
}
.cod_timeline_progress li:first-child:after {
  display: none;
}

.cod_steps_wrapper {
  padding-bottom: 300px;
}
.cod_steps_wrapper .cod_step_title {
  color: #0077BB;
  font-size: 20px;
  text-transform: uppercase;
}
.cod_main_wrapper .cod_title {
  font-size: 24px;
  text-align: center;
}
.cod_steps_wrapper .cod_section_title {
  color: #0077BB;
  font-size: 15px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.cod_steps_wrapper .cod_step {
  height: 0;
  overflow: hidden;
}
.cod_steps_wrapper .cod_step.active {
  height: auto;
  padding-left: 2px;
  padding-right: 2px;
}
.cod_step .cr-ap-mb-20 {
  margin-bottom: 20px;
}
.form_max_area {
  max-width: 800px;
}
.cod_field {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
  position: relative;
}
.cod_field label {
  display: block;
  margin-bottom: 2px;
  user-select: none;
}
.cod_field label .req {
  color: #F00;
}
.cod_field input,
.cod_field select,
.cod_field textarea,
.cod_field > div {
  width: 100%;
  padding: 8px;
  border-radius: 0;
  appearance: auto;
  border: 1px solid #979797;
  transition: all ease-in-out 0.1s;
}
.cod_field textarea {
  min-height: 130px;
}
.cod_field > div {
  padding: 0;
  border: none;
  margin-bottom: 10px;
}
.cod_field input:focus,
.cod_field select:focus,
.cod_field textarea:focus {
  border-color: #008fe1;
  outline: 2px solid #008fe1;
}
.cod_field input[type="checkbox"] {
  top: 4px;
  width: 16px;
  height: 16px;
  position: relative;
  vertical-align: top;
  outline: none !important;
}
.cod_field input[type="checkbox"] + label {
  display: inline-block;
  padding-left: 8px;
  margin-left: -4px;
}
.cod_field input[type="file"] {
  background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB0AAAAdCAYAAABWk2cPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE8SURBVHgB7ZU/bsIwFId/dkqnDhwhPUJvAKoaqerUG3CEDJXo1jJUomWhJ2h6ArpVAiSuwA0IN2Bh4E/ycOIQCQhgO0yQb7Hs5/iTX6z3gIJzg8EEt1PG9U0NfPmH5qMPTfSlr/82qDQAyBaf+2CLqq5YT7ohTI/QFqtLM4VmYq6yaVNIvpB48TrRr5yTjEf7TiYly02FLKiCgnESkPNUbL2pHKcmZUEbFDZiwXYKo7kUf4uxoXLclcqmRPR+JO5CEbWbnphCen7S3debFgJBOHtG62kIXV56FVjsRxpYBR/348PSmKTUWbycHecTOYjyt5d1udyttGbp/XpoI6Q7NB0PBpj/05ajn/bc0hwcLoNU6qDen8AI2hvJ7qf17kiEbORGdJ9P53Z7NfumUdcIeQ25EC98PvVQcBGsALrNc8BKU9iSAAAAAElFTkSuQmCC') no-repeat center right 6px;
}
.cod_field.cod_field_has_error > input,
.cod_field.cod_field_has_error > select,
.cod_field.cod_field_has_error > textarea,
.cod_field.cod_field_has_error #signatureWrapper canvas,
.cod_field.cod_field_has_error .clientSignatureWrapper canvas {
  outline: 2px solid #ff6a6a !important;
  border-color: #ff6a6a !important;
}
.cod_field .cod_field_error {
  color: #F00;
  display: none;
  font-size: 14px;
  font-style: italic;
}
.cod_field.cod_field_has_error .cod_field_error {
  display: block;
}
.floating_top_field {
  top: 0;
  right: 0;
  z-index: 10;
  display: flex;
  position: absolute;
  padding: 0 !important;
  width: auto !important;
}
.cod_field.label_active label,
.cod_field.label_active label + a {
  color: #008fe1;
  cursor: pointer;
  font-weight: bold;
}
.cod_field.label_active {
  flex-wrap: nowrap;
}
.cod_field.label_active > :first-child {
  min-width: 16px;
}
.cod_field.label_active input[type="checkbox"] + label {
  display: inline-block;
  padding-left: 10px;
  margin-left: 0px;
}
.cod_field.field_readonly:after {
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  content: '';
  position: absolute;
}
.cod_field.align_right {
  text-align: right;
}
.cod_field.btn_wrapper {
  display: flex;
  margin-top: 50px;
  justify-content: space-between;
}
.cod_field.btn_wrapper.align_right {
  justify-content: end;
}
.cod_form_btn, .cod_view_btn {
  border: none;
  color: #FFF;
  min-width: 130px;
  padding: 10px 40px;
  text-align: center;
  background: #0077BB;
  outline: none !important;
  transition: all ease-in-out 0.2s;
}
.cod_field.unhandled_check input {
  position: absolute;
}
.cod_field.unhandled_check input + label {
  z-index: 1;
  position: relative;
  padding-left: 26px !important;
}
.cod_form_btn:hover, .cod_view_btn:hover {
  color: #FFF !important;
  background: #00629b;
}
a.cod_view_btn {
  padding: 6px 20px;
  display: inline-block;
}
.cod_form_btn.arrow_prev,
.cod_form_btn.arrow_next {
    position: relative;
}
.cod_form_btn.arrow_prev:before,
.cod_form_btn.arrow_next:after {
    content: '';
    width: 12px;
    height: 12px;
    display: inline-block;
    border-bottom: 2px solid #FFF;
    vertical-align: baseline;
}
.cod_form_btn.arrow_prev:before {
    margin-right: 10px;
    border-left: 2px solid #FFF;
    transform: rotate(45deg);
}
.cod_form_btn.arrow_next:after {
    margin-left: 10px;
    border-right: 2px solid #FFF;
    transform: rotate(-45deg);
}
.cod_form_btn[disabled] {
  opacity: 0.5;
}
.uppercase {
  text-transform: uppercase !important;
}
.checkbox_list {
  padding: 0;
  list-style: none;
}
.max-width-300 {
  max-width: 300px !important;
}
#signature_preview {
  margin-top: 4px;
}
#signature_preview p {
  color: #ff3f3f;
  font-style: italic;
}
#signature_preview img {
  max-width: 300px;
}
.cod_step .applicant_name {
  margin: 6px 0;
}
.fake_checkbox_field {
  margin-top: 3px;
  margin-right: 8px;
  position: relative;
  width: 18px !important;
  height: 18px !important;
  border-radius: 3px !important;
  border: 1px solid #333 !important;
}
.fake_checkbox_field.checked {
  background: #0075FF;
  border-color: #0075FF !important;
}
.fake_checkbox_field.checked:before {
  top: 4px;
  left: 2px;
  width: 11px;
  height: 5px;
  content: '';
  position: absolute;
  transform: rotate(-45deg);
  border-left: 2px solid #FFF;
  border-bottom: 2px solid #FFF;
}
#text_special_delivery_instructions {
  min-height: 130px;
  border: 1px solid #979797;
  padding: 4px 8px;
  padding-bottom: 8px;
}
.signature-pad {
  width: 100%;
  height: 240px;
  display: block;
}
img.signature-pad {
  height: auto !important;
}
img.signature-pad[src=""] {
  display: none;
}
.cod_main_wrapper .cod_step .cod_field .clientSignatureWrapper {
  min-height: 240px;
  border: 1px solid #979797 !important;
}
.clear_signature {
  cursor: pointer;
  background: #EEE;
  display: inline-block;
  width: auto !important;
  padding: 6px 12px !important;
}
#error_response {
  color: #F00;
  margin-bottom: 20px;
}
#error_response:empty {
  display: none;
}
#submit_agrement[disabled],
#crd_submit_agrement[disabled] {
  background: #cbcbcb;
}
ul.agreement_points {
  padding-left: 0;
  list-style: none;
}
ul.agreement_points li {
  line-height: 24px;
  margin-bottom: 10px;
}
.cod_step .col-12 > ol {
  list-style-position: inside;
  padding-left: 0;
}
.cod_step .col-12 > ol li {
  line-height: 24px;
  margin-bottom: 10px;
}
.bold_text {
  font-weight: bold !important;
}
.cod_step.loading {
  position: relative;
}
.cod_step.loading:before {
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
}
.cod_step.loading:after {
  content: '';
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 60px;
  height: 60px;
  z-index: 10;
  margin: auto;
  position: fixed;
  border: 3px solid #00629b;
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.5s ease-in-out infinite;
}
@keyframes spin {
  from {transform:rotate(0deg);}
  to {transform:rotate(360deg);}
}
.cod_disable_fields .cod_timeline_progress li:before {
  background: #0077BB !important;
  border: 3px solid #0077BB !important;
}
.cod_disable_fields .cod_timeline_progress li:after {
  background: #0077BB !important;
}
.cod_disable_fields .cod_field input,
.cod_disable_fields .cod_field select,
.cod_disable_fields .cod_field textarea,
.cod_disable_fields .cod_field > div:not(.checked) {
  padding: 0 !important;
  border: none !important;
  background: none !important;
}
.cod_disable_fields canvas,
.cod_disable_fields .clear_signature,
.cod_disable_fields .cod_field label .req,
.cod_disable_fields #tl_cod_submit_application,
.cod_disable_fields #tl_crd_submit_application {
  display: none !important;
}
.grayed_area {
  position: relative;
}
.grayed_area.area_disabled:after {
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  z-index: 10;
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
}



.cod_field.checkbox_field {
  position: relative;
}
.cod_field.checkbox_field input {
  position: absolute;
  width: 0;
  opacity: 0;
  left: 0;
}
.cod_field.checkbox_field label {
  padding-left: 26px;
  position: relative;
  cursor: pointer;
}
.cod_field.checkbox_field label:before,
.cod_field.checkbox_field label:after {
  top: 0;
  left: 0;
  bottom: 0;
  width: 17px;
  height: 17px;
  content: '';
  margin: auto;
  position: absolute;
}
.cod_field.checkbox_field label:before {
  top: 0;
  left: 0;
  bottom: 0;
  content: '';
  margin: auto;
  position: absolute;
  border: 1px solid #333;
  background: #FFF;
  border-radius: 3px;
}
.cod_field.checkbox_field label:after{
  top: -3px;
  left: 3px;
  width: 10px;
  height: 5px;
  border-left: 2px solid #FFF;
  border-bottom: 2px solid #FFF;
  transform: rotate(-45deg);
}
.cod_field.checkbox_field input:checked + label:before {
  border: 1px solid #0075FF;
  background: #0075FF;
}
.section_optional .cod_field label .req,
.credit_optional_section.cr_hide_section {
  display: none !important;
}
.cod_table_list {
  margin-bottom: 30px;
}
table.va_middle td {
  vertical-align: middle;
}
table.cod_table_list tr:nth-child(even) > * {
  background: #F9F9F9;
}
.cod_table_list h4 {
  margin: 4px 0;
  font-size: 16px;
}
.cod_tab_wrapper .nav-tab {
  margin-left: 0;
}
.cod_tab_wrapper .nav-tab +  .nav-tab {
  margin-left: 8px;
}
.emg-header-top-left ul {
  display: flex;
}
.emg-header-top-left ul li {
  padding-left: 18px;
  padding-right: 18px;
  position: relative;
}
.emg-header-top-left ul li:first-child {
  margin-left: 0;
}
.emg-header-top-left ul li + li:before {
  left: 0;
  top: 0;
  bottom: 0;
  height: 26px;
  margin: auto;
  content: '|';
  color: #FFF;
  position: absolute;
}
.emg-header-top-left ul li a {
  color: #FFF;
}
.no_cod_submission {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.cod_popup_content {
  background: #fff;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 530px;
}
.popup-statement {
  font-size: 18px;
  margin-bottom: 20px;
}
.cod_popup_content h3 {
  margin-bottom: 30px;
}
footer.emg-footer {
  margin-top: 100px;
}
@media screen and (max-width: 768px) {
  #vmcheader .emg-header-top {
    height: auto;
  }
  .emg-header-top-left ul li {
    padding: 0 10px;
  }
  .header-top-wrap .emg-header-top-left ul li a img {
    display: none;
  }
  .my-account-head-left {
    max-width: none;
    flex: auto;
  }
  .my-account-left-wrap {
    margin: 0;
    max-width: none;
    border-bottom: none;
  }
  .my-account-left-wrap .myaccount-hdng-lft{
    position: relative;
  }
  .my-account-left-wrap > h5.myaccount-hdng-lft:before,
  .my-account-left-wrap > h5.myaccount-hdng-lft:after {
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    content: '';
    margin: auto;
    position: absolute;
    background: #333;
  }
  .my-account-left-wrap > h5.myaccount-hdng-lft:after {
    height: 20px;
    background: none;
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
  }
  .my-account-left-wrap .custom-tab-design {
    display: none;
  }
  .my-account-left-wrap.showMenu .custom-tab-design {
    display: block;
  }
  .timeline_wrapper{
    margin: 0;
  }
  #cod_timeline_progress {
    scale: 0.8;
    margin-top: 20px;
  }
  .cod_timeline_progress li:after {
    width: 58px;
  }
  .cod_timeline_progress li {
    width: 92px;
    font-size: 14px;
    padding: 34px 6px 0 6px;
  }

}