:root {
  --blue: #3c85b3;
  --orange: #f5ad04;
  --soft-blue: #d6e7f4;
  --bg: #f6fbff;
  --text: #5d5c5c;
}

body {
  min-width: 360px;
  background-image: none !important;
  background-color: #ffffff;
}

.page-frame {
  position: relative;
  max-width: 996px;
  margin: 0 auto;
  background: url("/images/topright.gif") 152px 0 repeat-x;
  overflow: hidden;
}

.legacy-header {
  position: relative;
}

.legacy-header .head2 {
  left: 152px;
  right: 0;
  width: auto;
  background-repeat: repeat-x;
}

table.main {
  margin: 0 auto;
}

.hero {
  margin: 0 11px 12px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #dedede;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.03);
}

.hero h2 {
  margin-top: 0;
}

.cta {
  margin-top: 10px;
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #b0bbce;
  background: #ffeecc;
  font-size: 11px;
  font-weight: bold;
  color: #3e3e3e;
  text-decoration: none;
}

button.cta {
  cursor: pointer;
}

.plan-grid {
  margin: 0 11px 11px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.plan-card {
  border: 1px solid #dedede;
  background: #ffffff;
  padding: 10px;
  font-size: 11px;
  color: var(--text);
}

.plan-card h3 {
  margin: 0 0 6px;
}

.plan-card ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.plan-card .price {
  color: var(--orange);
  font-weight: bold;
}

.plan-card a.button {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  border: 1px solid #b0bbce;
  background: #d6e7f4;
  color: #3e3e3e;
  text-decoration: none;
  font-weight: bold;
}

.section {
  margin: 0 11px 11px;
  padding: 10px;
  border: 1px solid #dedede;
  background: #ffffff;
}

.notice {
  margin: 0 11px 11px;
  padding: 8px 10px;
  background: #fff7e1;
  border: 1px solid #f0d9a3;
  font-size: 11px;
}

.inline-form {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.inline-form input[type="text"] {
  border: 1px solid #818b9d;
  height: 16px;
  padding: 2px 4px;
}

td.main5 {
  width: 369px;
  border-left: 1px #dedede solid;
}

@media (max-width: 820px) {
  table.main,
  tr.main,
  td.left,
  td.main5,
  td.blocks,
  td.right {
    display: block;
    width: 100% !important;
  }
  td.left,
  td.blocks,
  td.right {
    border-right: none;
  }
  td.left,
  td.blocks,
  td.right,
  td.main5 {
    border-left: none;
  }
  .leftmenuhead img {
    width: 100%;
  }
  div.leftmenu,
  div.leftbanner {
    width: auto;
  }
  div.white,
  div.whitefirst,
  div.blue,
  div.bluefirst,
  div.down,
  div.leftmenubottom {
    width: auto;
    text-align: left;
    padding-left: 12px;
    padding-right: 12px;
    border-right: none;
  }
  div.blue,
  div.bluefirst {
    padding-right: 12px;
  }

  .sidebar-blocks > div,
  .sidebar-blocks > table {
    margin: 0 11px 11px;
    border: 1px solid #dedede;
    background: #ffffff;
    border-radius: 6px;
  }

  .sidebar-blocks table.search {
    border-top: none;
    margin-top: -11px;
  }

  .sidebar-blocks .search,
  .sidebar-blocks .login,
  .sidebar-blocks .reg,
  .sidebar-blocks .box,
  .sidebar-blocks .cards,
  .sidebar-blocks .traf {
    border: none;
    margin: 0;
  }

  .sidebar-blocks .reg table,
  .sidebar-blocks table.search {
    width: 100%;
  }
}
