body {
  overflow-y: scroll;
  background-image: linear-gradient(#eee 1px, transparent 1px),
    linear-gradient(90deg, #eee 1px, transparent 1px),
    linear-gradient(#eee 1px, transparent 1px),
    linear-gradient(90deg, #eee 1px, transparent 1px);
  background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px;
  background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
  padding-bottom: 150px !important;
}

.progress_div {
  display: block;
  position: fixed;
  bottom: 24px;
  left: 8px;
  right: 8px;
  background: transparent;
}

.progress_div p {
  margin: 0 auto;
  text-align: center;
  background: transparent;
  color: #999;
  font-size: 12px;
}

.progress_div p:after {
  position: absolute;
  display: inline-block;
  animation: dotty steps(1, end) 1s infinite;
  content: '';
}

@keyframes dotty {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
  100% { content: ''; }
}

.header {
  right: 16px;
}

.nav_ul li {
  margin: 0 !important;
  font-weight: bold;
}

.nav_ul li a {
  margin: 0 !important;
  font-weight: normal;
}

.header .header_bottom .nav_icon {
  height: 10px;
  margin: 0 -8px !important;
  background: url("../../assets/chevron-right-dark-24px.png");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.header .header_bottom .nav_ul li.no_href {
  margin: 0 !important;
  font-weight: normal;
  color: #888;
  cursor: pointer;
}

.main_div {
  display: block;
  position: relative;
  top: 116px;
  margin: 16px auto 0 auto;
  height: calc(100% - 105px);
  padding: 16px 76px;
  list-style: none;
}

.settings_div {
  width: 60%;
  padding: 16px 76px 32px 76px;
  height: auto;
}

.settings_div h3 .xero_icon {
  display: inline-block;
  vertical-align: middle;
  width: 28px;
  height: 28px;
}

.settings_div h3 span {
  display: inline-block;
  margin-left: 2px;
  vertical-align: middle;
}

.settings_div hr {
  border-color: #ccc;
}

.settings_div a {
  cursor: pointer;
}

.xero_product {
  margin-top: 8px;
}

.xero_product_heading {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.xero_product_heading .xero_icon {
  width: 28px;
  height: 28px;
  margin-top: 2px;
  flex: none;
}

.xero_product_heading h4 {
  margin: 0 0 4px 12px;
  font-weight: bold;
}

.xero_product_heading p {
  margin: 0 0 0 12px;
  color: #666;
}

.authenticate_div .xero_chooser {
  display: inline-block;
  position: relative;
  color: #666;
  background: #fff;
  cursor: pointer;
  padding: 10px 16px;
  margin: 0;
  border: 1px solid #13B5EA;
  border-radius: 8px;
  vertical-align: middle;
  box-shadow: 0 4px 8px -3px #0001;
  opacity: 0.9;
  text-decoration: none;
}

.authenticate_div .xero_chooser:hover,
.authenticate_div .xero_chooser:focus {
  border: 1px solid #13B5EA;
  opacity: 1;
  text-decoration: none;
}

.authenticate_div .xero_chooser .xero_icon {
  display: inline-block;
  vertical-align: middle;
  width: 18px;
  height: 18px;
}

.authenticate_div .xero_chooser span {
  position: relative;
  display: inline-block;
  font-weight: bold;
  vertical-align: middle;
  margin-left: 8px;
  color: #444;
}

.authenticate_div .auth_required {
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin-left: 4px;
  animation: flashing 0.35s linear infinite, flying 0.25s linear infinite;
}

@keyframes flying {
  0% { top: -12px; }
  50% { top: -20px; }
  100% { top: -12px; }
}

@keyframes flashing {
  0% { transform: rotate(14deg); }
  50% { transform: rotate(-14deg); }
  100% { transform: rotate(14deg); }
}

.connectted_div {
  display: block;
  position: relative;
  margin: 0 auto;
  width: 100%;
  padding: 0;
  list-style: none;
}

.connectted_div .account_info {
  position: relative;
  display: block;
  margin: 0;
  height: auto;
  min-height: 59px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 3px 12px -3px #0004 !important;
  z-index: 99;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.connectted_div .account_info .account_info_inner {
  padding: 16px;
  border-radius: 4px;
  border: 2px dashed #bbb;
  cursor: pointer;
  min-height: 56px;
}

.connectted_div .account_info .change {
  position: absolute;
  top: calc(50% - 21px);
  right: 26px;
  width: 62px;
  display: inline-block;
  margin: 8px 0 0 8px;
  font-size: 12px;
  padding: 4px 8px;
  border: 1px solid;
  border-radius: 4px;
  text-decoration: none;
}

.connectted_div .account_info .change_error:after {
  content: '⚠️';
}

.connectted_div .account_info img {
  display: inline-block;
  width: 36px;
  height: 36px;
  margin: 0;
  object-fit: cover;
  float: left;
  background-color: #000856;
  border-radius: 50%;
  padding: 2px;
}

.connectted_div .account_info h5 {
  display: inline-block;
  font-weight: bold;
  width: calc(100% - 132px);
  margin: 0 0 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.connectted_div .account_info p {
  display: inline-block;
  width: calc(100% - 132px);
  margin: 0 0 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xero_options {
  position: relative;
  margin-top: 86px;
}

.xero_options > .step_line_div {
  position: absolute;
  top: -130px;
  width: 22px;
  margin: 0;
  padding: 0;
  background: transparent;
  z-index: 2;
  pointer-events: none;
}

.xero_options > .import_line {
  left: -24px;
  height: calc(50% - 64px);
  border-left: 2px dashed #F26522;
  border-bottom: 2px dashed #F26522;
}

.xero_options > .export_line {
  left: -40px;
  bottom: calc(50% - 150px);
  border-left: 2px dashed #F26522;
  border-bottom: 2px dashed #F26522;
}

.xero_options > .step_line_div.export_line {
  width: 38px;
}

.xero_options > .step_line_div .step_line {
  display: none;
}

.xero_options > .step_line_div .step_end_point {
  position: absolute;
  top: -1px;
  width: 16px;
  height: 2px;
  margin: 0;
  border-radius: 25%;
  background: #F26522;
}

.xero_options > .import_line .step_end_point {
  left: -7px;
}

.xero_options > .export_line .step_end_point {
  left: -7px;
}

.xero_section {
  margin-top: 0;
}

.xero_section + .step_line_div + .xero_section,
.xero_options .export_contacts {
  margin-top: 28px;
}

.xero_section {
  position: relative;
  display: block;
  margin: 0 auto;
  padding: 24px;
  width: 100%;
  background-color: #eee;
  border: 2px solid #13B5EA;
  border-radius: 6px;
  box-shadow: 0 4px 12px -3px #0002;
}

.xero_section h4 {
  margin: 0 0 4px 0;
  font-weight: bold;
}

.xero_section .section_desc {
  color: #666;
  margin: 0 0 16px 0;
}

.xero_section .sync_status {
  margin: 0;
  padding: 0 8px 8px 8px;
  color: #2D7548;
  font-weight: bold;
  font-size: 12px;
  min-height: 0;
}

.xero_section .sync_status.syncing {
  color: #999;
  font-weight: normal;
}

.xero_section .sync_status.syncing:after {
  position: relative;
  display: inline-block;
  animation: dotty steps(1, end) 1s infinite;
  content: '';
}

.xero_section .sync_status.sync_off {
  color: palevioletred;
  font-weight: normal;
}

.xero_section .sync_status .sync_skipped_count {
  color: palevioletred;
}

.xero_section .sync_skipped {
  margin: 8px 0 0 0;
  padding: 8px 0 8px 24px;
  color: #666;
  font-weight: normal;
  font-size: 12px;
  list-style: decimal;
  max-height: 400px;
  overflow-y: auto;
}

.xero_section .sync_skipped li {
  margin: 4px 0;
}

.xero_section .sync_skipped li:nth-child(even) {
  background: #f4f4f4;
}

.xero_section .required_div .more_options {
  position: absolute;
  top: 19px;
  right: 0;
  background: url("../../assets/more.png");
  background-size: 24px;
  background-repeat: no-repeat;
  background-position: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  opacity: 0.8;
}

.xero_section .required_div .more_options:hover {
  opacity: 1;
}

.xero_section .more_options_div {
  position: absolute;
  bottom: 56px;
  right: 16px;
  display: none;
  min-width: 180px;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  box-shadow: 0 3px 16px -3px #0006;
  z-index: 5;
}

.xero_section .more_options_div .more_options_div_a {
  display: block;
  padding: 8px 12px;
  cursor: pointer;
  text-decoration: none;
}

.xero_section .more_options_div .more_options_div_a:hover {
  background: #f4f4f4;
  text-decoration: none;
}

.xero_section .more_options_div .more_options_div_a span {
  color: #333;
  vertical-align: middle;
}

.xero_section .more_options_div .more_options_div_a img {
  width: 28px;
    height: 28px;
    object-fit: cover;
    margin-right: 8px;
    display: inline-block;
    border: none !important;
    position: relative;
    top: 0px;
    padding: 2px;
}

.xero_section p .required_asterisk {
  color: palevioletred;
  display: inline;
}

.xero_section select {
  padding: 12px 30px 12px 14px;
  margin: 0 0 8px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  color: #000 !important;
  text-align: left !important;
  outline: none;
  box-sizing: border-box;
  box-shadow: 0 3px 8px -3px #0001;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: #fff url('../../assets/dropdown_dark.png');
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) center;
  cursor: pointer;
  width: 100%;
}

.xero_section select:focus {
  border-color: #13B5EA;
}

.required_div {
  position: relative;
  text-align: right;
  margin-top: 16px;
  padding: 30px 8px 8px 8px;
  border-top: 1px solid #999;
  height: 48px;
}

.required_div .save_task {
  background: #000;
  position: absolute;
  top: 17px;
  left: 8px;
  color: #fff;
  border-radius: 4px;
  padding: 8px 24px;
  margin: 0 auto;
  cursor: pointer;
}

.required_div .save_task:hover,
.required_div .save_task:focus {
  cursor: pointer;
  text-decoration: none;
  color: #fff;
}

.save_task_success {
  position: absolute;
  top: 17px;
  left: 8px;
  padding: 2px 8px 6px 12px;
  display: block;
  margin: 0 auto;
  font-size: 14px !important;
  font-weight: bold;
  text-align: left;
  background: #E7FDF5;
  color: #2D7548;
  border: 2px solid #7EAF94;
  border-radius: 4px;
  box-shadow: 0 3px 16px -3px rgba(0, 255, 0, 0.05);
}

.save_task_success span {
  position: relative;
  display: inline-block;
  top: 2px;
  font-size: 18px !important;
  font-weight: bold;
  text-align: center;
  height: 24px;
  width: 24px;
  margin-right: 8px;
  border-radius: 5px;
  background: #2D7548;
  color: #fff;
}

.save_task_loading {
  background: transparent !important;
  margin: auto;
  padding: 8px !important;
  border: 4px solid transparent !important;
  border-bottom: 4px solid #13B5EA !important;
  border-left: 4px solid #13B5EA !important;
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  overflow: hidden !important;
  color: transparent !important;
  animation: spin 0.45s linear infinite;
  pointer-events: none !important;
}

.xero_section .error {
  color: palevioletred;
  padding: 4px 8px;
  font-size: 12px;
  min-height: 18px;
}

.required_div p {
  position: absolute;
  top: 25px;
  right: 76px;
  padding: 0 16px;
  display: inline-block;
  border-left: 1px solid #ccc;
}

label.switch {
  position: relative;
  right: 32px;
  display: inline-block;
  width: 40px;
  height: 12px;
  margin: 0;
}

label.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #E5E7EB;
  box-shadow: 0 0 1px #000e;
  border: 1px solid #ccc;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: -2px;
  bottom: -5px;
  background-color: white;
  transition: .4s;
  border: 1px solid #aaa;
}

input:checked + .slider {
  background-color: #ccc;
  border: 1px solid #aaa;
}

input:focus + .slider {
  box-shadow: 0 0 1px #268BD2;
}

input:checked + .slider:before {
  transform: translateX(22px);
  background-color: #1a73e8;
  border: 1px solid #fff;
}

.slider.round {
  border-radius: 20px;
}

.slider.round:before {
  border-radius: 50%;
}

@media (max-width: 850px) {
  .header {
    right: 0;
  }

  .main_div,
  .settings_div {
    width: 80%;
  }
}

@media (max-width: 450px) {
  .main_div,
  .settings_div {
    width: 98%;
    padding: 16px 16px 32px 16px;
  }

  .connectted_div .account_info h5,
  .connectted_div .account_info p {
    width: calc(100% - 120px);
  }
}
