@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --plum: #8a2561;
  --plumhover: #742052;
  --menubg: #f0f3ff;
  --menutext: #313131;
  --border: #ffcb1b;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  color: var(--menutext);
  line-height: 18px;
  background-repeat: no-repeat;
}

.normalpage {
  background-image: url("../../images/custom/ChisagoCountyMN/BG.jpg");
  background-color: gray;
  background-position: center;
  background-size: cover;
}

a {
  border: 0;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.hidden {
  display: none;
}

#wrapper {
  display: table;
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  background-color: rgba(119, 119, 119, 0.767);
  margin-left: auto;
  margin-top: 2%;
  margin-right: auto;
  font-size: 14px;
}
#wrapper.center {
  width: auto;
}

div[style="max-width:855; min-width:855; overflow:hidden;"] {
  max-width: 1000px;
}

.DataletHeaderTop, .DataletHeaderBottom {
  font-size: 14px;
}

.contentpanel {
  border: 1px solid rgba(133, 133, 133, 0.158);
  background: white;
  margin: 0.5rem;
  padding: 1rem;
}

#ContentPanel1 {
  padding: 0 !important;
}

#secondarytopmenu ul li.unsel a {
  color: var(--menutext);
  text-decoration: none;
  text-decoration-color: var(--border);
  text-underline-position: under;
}

#secondarytopmenu ul li.sel a, #secondarytopmenu ul li.unsel a:hover {
  color: var(--menutext);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-decoration-thickness: 3px;
  text-underline-position: under;
}

#outerheader {
  background-color: var(--menubg);
  border-top: 5px var(--plum) solid;
}

#middleheader {
  display: flex;
  & header {
    width: 20%;
  }
}

#rightsection {
  display: none;
}

.sitelogocontainer {
  height: 95px;
  width: max(524px, 18vw);
  padding-top: 5%;
}
.sitelogocontainer .sitelogo {
  height: 100%;
  background-image: url("../../images/custom/ChisagoCountyMN/LogoColor.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position-y: center;
  margin-left: 50px;
}

.icon-angle-right:before,
.icon-angle-left:before {
  color: white;
  font-size: 1.5em;
}

#topmenu {
  font-size: 1.1em;
  text-align: center;
}
#topmenu ul {
  display: inline-block;
  margin: auto;
  padding: 0;
}

#zoom > div.contentpanel > div {
  min-width: 800px;
}

#topmenu ul li {
  display: inline-block;
}
#topmenu ul li a {
  display: inline-block;
  font-weight: 500;
  color: var(--menutext);
}

#secondarytopmenu {
  text-align: center;
}
#secondarytopmenu ul {
  display: inline-block;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--plum);
}
#secondarytopmenu ul li {
  display: inline-block;
}
#secondarytopmenu ul li.unsel a {
  color: var(--menutext);
  background-color: transparent;
  transition: text-decoration 0.5s ease;
}

#secondarytopmenu ul li a {
  display: block;
  padding: 25px 17.5px;
}

.MapPanel {
  font-size: 11px;
  color: black;
  background-color: transparent;
}

#map_gc {
  height: 800px !important;
}

#map_container {
  height: 800px !important;
}

#sketchframe {
  width: 1200px;
  height: 600px;
}

.sketchbody {
  background-image: none;
  background-color: #ffffff;
}

.columns {
  display: table-cell;
  vertical-align: top;
}

.DataletTitleColor {
  background-color: var(--plum);
  color: white;
  padding: 0.5rem;
  border-radius: 5px 5px 0 0;
}
.DataletTitleColor font[size="-1"] {
  font-size: 1rem;
}

#datalet_header_row h1 {
  font-size: 1em;
}

.DataletTopHeading {
  background-color: var(--plum);
  color: white;
  font-weight: normal;
}

.DataletSideHeading,
.DataletData {
  padding: 0.5rem 0.3rem;
}

.SideBarHeading {
  font-weight: bolder;
  color: #2b394d;
  text-align: center !important;
}

.SideBarTabs {
  font-size: 0.85rem;
  color: #2b394d;
  vertical-align: middle;
  border: none;
}

#ReportListButton {
  width: 100%;
}

#sidemenu .contentpanel {
  background-color: var(--plum);
  border-radius: 10px;
}
#sidemenu ul.navigation {
  list-style: none;
  margin: 0px;
  padding: 0px;
}
#sidemenu ul.navigation li {
  border-bottom: 1px solid white;
}
#sidemenu ul.navigation li a {
  color: white;
  display: inline-block;
  padding: 6px 2px 4px 20px;
  margin-left: 0px;
  text-decoration: none;
}
#sidemenu ul.navigation li a:hover {
  text-decoration: underline;
  cursor: pointer;
}
#sidemenu ul.navigation li.sel {
  background-color: white;
}
#sidemenu ul.navigation li.sel a {
  color: #2b394d;
}
#sidemenu ul.navigation li.unsel a {
  color: white;
}
#sidemenu ul.navigation li.unsel:hover {
  transition: background-color 250ms ease-out 20ms;
  background-color: var(--plumhover);
}

.SearchText {
  font-size: 1.15rem !important;
  color: var(--menutext);
  background-color: transparent;
  font-weight: bolder;
  text-align: left;
}
.SearchText h1, .SearchText h2 {
  font-size: 1.15rem;
}

.IndexLink select {
  font-family: inherit !important;
  font-size: inherit !important;
}

.ResultListTitleColor {
  font-size: 0.85rem;
  color: #000000;
  background-color: #ececee;
  border: 1px solid #999;
}

.BannerSubTabs td {
  padding: 0.5rem 0;
}

.BannerTabsT {
  background-color: var(--border);
}

.WidgetBar {
  border: none;
}

/* table[width="855"],
#Table1 {
  width: 100% !important;
} */

#Table1 {
  width: 100%;
}

table[width="600px"] {
  width: auto !important;
  min-width: 600px;
}

table tbody tr td font b,
table tbody tr td font {
  font-family: "Poppins", sans-serif;
}

.charge-group-title__h4 {
  color: white !important;
  background: var(--plum) !important;
}

#footercontent {
  margin-top: 5em;
  background: var(--menubg);
}
#footercontent #footerContainer {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
}
#footercontent #footerContainer #footerFlex {
  display: flex;
  flex-flow: row wrap;
  padding: 2em 0;
  justify-content: center;
  text-align: center;
}
#footercontent #footerContainer #footerFlex .footerCard {
  padding: 0 2em 0 2em;
  line-height: 2rem;
}
#footercontent #footerContainer #footerFlex .footerCard .footerContent {
  padding-bottom: 2em;
}
#footercontent #footerContainer #footerFlex .footerCard .footerLogo {
  text-align: center;
}
#footercontent #footerContainer #footerFlex .footerSpace {
  width: 10%;
}
#footercontent #footerContainer #footerFlex .footerLinks {
  line-height: 2rem;
  padding-right: 50px;
  text-align: left;
}
#footercontent #footerContainer #footerFlex .footerLinks .socialLink {
  margin: 65px 0 0 2px;
}
#footercontent a {
  color: black;
}
#footercontent a:hover {
  color: var(--plum);
}

#fullWidthSeparator {
  width: 100%;
  height: 1px;
  background: var(--menutext);
}

#footerCopyright {
  display: flex;
  flex-flow: row wrap;
  width: 100%;
  padding: 26px 0;
  font-size: 0.94rem;
}
#footerCopyright #copyrightLeft {
  text-align: left;
  padding: 0 15px;
  width: calc(50% - 30px);
}
#footerCopyright #copyrightRight {
  text-align: right;
  padding: 0 15px;
  width: calc(50% - 30px);
}

.Btn {
  cursor: pointer;
  border-radius: 5px;
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  background-color: var(--plum);
  font-family: inherit;
  font-weight: bold;
  font-size: 1rem;
}

.Btn:hover {
  background-color: var(--plumhover);
}

div#dm-photocontrol {
  margin-left: 30px !important;
}

.instrHeader {
  width: 100%;
  margin: auto;
  background-color: var(--plum);
  padding: 2px 2px;
  color: white;
  h4 {
    padding: 0;
    margin: 0;
  }
}

@media screen and (min-width: 1250px) {
  #topmenu a {
    padding: 20px 2vw;
  }
}
@media screen and (max-width: 1249px) {
  #topmenu ul {
    margin: 0 auto;
  }
  #topmenu a {
    padding: 20px calc(2px + 1vw);
  }
  .sitelogocontainer {
    width: 100%;
    height: 80px;
    padding: 1rem;
  }
  .sitelogocontainer .sitelogo {
    background-position: center;
    margin: 0 auto;
  }
}
@media screen and (max-width: 775px) {
  #topmenu {
    display: none;
  }
  #secondarytopmenu ul {
    font-size: 0.95em;
  }
  #secondarytopmenu a {
    padding: 7px 17.5px;
  }
  nav {
    padding-left: 15%;
  }
}
@media screen and (min-width: 0) and (max-width: 478px) {
  .sitelogocontainer {
    height: 50px;
    padding: 1rem 0;
  }
  #wrapper {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  #wrapper.center {
    width: 100%;
  }
  #mobileAlert {
    display: block;
    padding: 5px;
    background: rgba(133, 133, 133, 0.5);
    font-weight: bold;
    border-radius: 5px;
  }
  #ContentPanel1 {
    width: 100% !important;
  }
  form[name=Form1] {
    width: 100% !important;
  }
  button#btSearch, #btDisagree.Btn.BtnBlue, #btAgree.Btn.BtnBlue {
    width: 100%;
    font-size: 18px;
    height: 60px;
    border-radius: 25px;
    margin: 10px 0;
  }
  input.FormText {
    margin-bottom: 0.5rem;
  }
  .BannerTabsT {
    display: none;
  }
  #topmenu {
    display: none !important;
  }
  #secondarytopmenu ul {
    text-align: center;
  }
  #secondarytopmenu ul li:nth-child(4) {
    display: none;
  }
  /* Reordering search fields on mobile */
  #frmMain > table > tbody > tr > td > div > div > table:nth-child(1) > tbody > tr:nth-child(6) > td > table {
    display: flex;
    flex-direction: column;
  }
  table, tbody, tr, td, th {
    display: block;
    text-align: left;
    width: 100% !important;
    height: auto;
  }
  #searchResults {
    margin-top: 1rem;
  }
  #searchResults thead {
    display: block;
    margin-bottom: 10px;
  }
  #searchResults::before {
    content: "Sort Results:";
    margin: 1rem 0.5rem;
    font-weight: bold;
  }
  #searchResults tbody tr {
    margin-bottom: 10px;
  }
  #searchResults tbody tr td:nth-child(1) {
    color: white;
    background-color: #2b394d;
  }
  tr.SearchResults {
    border: 1px black solid;
  }
  tr.SearchResults td {
    border: none !important;
  }
  .FormText {
    width: 90%;
    padding-bottom: 3px;
  }
  #trTaxYear {
    display: none;
  }
  #wrapper #sidemenu {
    width: 100% !important;
    display: block;
    order: 2;
  }
  #wrapper #sidemenu ul {
    display: block;
    padding: 0;
  }
  #wrapper #sidemenu a {
    display: block;
    width: 100%;
  }
  #wrapper > #sidemenu::before {
    font-size: 1.5rem;
    font-weight: bold;
    padding: 1rem;
    color: white;
    content: "More parcel info:";
  }
  /* Hide GIS and Sketch from mobile */
  .columns {
    display: block;
    width: 100%;
  }
  .PullDownMenuLayer {
    display: none;
  }
  #datalet_header_row {
    margin-bottom: 10px;
  }
  tr.BannerTabs {
    display: none;
  }
  td.DataletSideHeading {
    background-color: #2b394d;
    color: white;
  }
  .contentpanel div[style="min-width:500px; min-height:450px;max-width:1600px;   vertical-align:top;"] {
    min-width: 0 !important;
    min-height: 0 !important;
  }
  table[width="600px"] {
    width: 100% !important;
  }
  .DataletData {
    padding-bottom: 10px;
    min-height: 29px;
  }
  table[id="Property Values"] .DataletTopHeading {
    display: none;
  }
  table[id="Property Values"] td {
    border: none;
    position: relative;
    padding-left: 50%;
    width: 100%;
    box-sizing: border-box;
  }
  table[id="Property Values"] td.DataletData::before {
    position: absolute;
    top: 0;
    left: 6px;
    width: 45%;
    padding-right: 10%;
    white-space: nowrap;
  }
  table[id="Property Values"] td.DataletData:nth-of-type(1) {
    background-color: #2b394d;
    color: white;
  }
  table[id="Property Values"] td.DataletData:nth-last-of-type(1) {
    margin-bottom: 15px;
  }
  table[id="Property Values"] td.DataletData:nth-of-type(1)::before {
    content: "Asmt Year";
  }
  table[id="Property Values"] td.DataletData:nth-of-type(2)::before {
    content: "Pay Year";
  }
  table[id="Property Values"] td.DataletData:nth-of-type(3)::before {
    content: "Class";
  }
  table[id="Property Values"] td.DataletData:nth-of-type(4)::before {
    content: "Rec #";
  }
  table[id="Property Values"] td.DataletData:nth-of-type(5)::before {
    content: "EMV Land";
  }
  table[id="Property Values"] td.DataletData:nth-of-type(6)::before {
    content: "EMV Bldg";
  }
  table[id="Property Values"] td.DataletData:nth-of-type(7)::before {
    content: "EMV HGA";
  }
  table[id="Property Values"] td.DataletData:nth-of-type(8)::before {
    content: "New Con";
  }
  table[id="Property Values"] td.DataletData:nth-of-type(9)::before {
    content: "Exclusion";
  }
  table[id="Property Values"] td.DataletData:nth-of-type(10)::before {
    content: "EMV Total";
  }
  table[id="Property Values"] td.DataletData:nth-of-type(11)::before {
    content: "TMV Total";
  }
  table[id="Land Summary"] .DataletTopHeading {
    display: none;
  }
  table[id="Land Summary"] td {
    border: none;
    position: relative;
    padding-left: 50%;
    width: 100%;
    box-sizing: border-box;
  }
  table[id="Land Summary"] td.DataletData::before {
    position: absolute;
    top: 0;
    left: 6px;
    width: 45%;
    padding-right: 10%;
    white-space: nowrap;
  }
  table[id="Land Summary"] td.DataletData:nth-of-type(1) {
    background-color: #2b394d;
    color: white;
  }
  table[id="Land Summary"] td.DataletData:nth-last-of-type(1) {
    margin-bottom: 15px;
  }
  table[id="Land Summary"] td.DataletData:nth-of-type(1)::before {
    content: "Line";
  }
  table[id="Land Summary"] td.DataletData:nth-of-type(2)::before {
    content: "Class";
  }
  table[id="Land Summary"] td.DataletData:nth-of-type(3)::before {
    content: "Rec #";
  }
  table[id="Land Summary"] td.DataletData:nth-of-type(4)::before {
    content: "Code";
  }
  table[id="Land Summary"] td.DataletData:nth-of-type(5)::before {
    content: "Land Desc";
  }
  table[id="Land Summary"] td.DataletData:nth-of-type(6)::before {
    content: "Sq Ft";
  }
  table[id="Land Summary"] td.DataletData:nth-of-type(7)::before {
    content: "Acres";
  }
  table[id="Land Summary"] td.DataletData:nth-of-type(8)::before {
    content: "Land Type";
  }
  table[id="Land Summary"] td.DataletData:nth-of-type(9)::before {
    content: "Value";
  }
  /* Pay Taxes mobile style */
  #payableChargesContainer table .DataletTopHeading {
    display: none;
  }
  #payableChargesContainer table td {
    border: none;
    position: relative;
    padding-left: 50%;
    width: 100%;
    box-sizing: border-box;
  }
  #payableChargesContainer table td::before {
    position: absolute;
    top: 0;
    left: 6px;
    width: 45%;
    padding-right: 10%;
    white-space: nowrap;
  }
  #payableChargesContainer table td:nth-of-type(1)::before {
    content: "Pay Year";
  }
  #payableChargesContainer table td:nth-of-type(2)::before {
    content: "Due Date";
  }
  #payableChargesContainer table td:nth-of-type(3)::before {
    content: "Base Taxes";
  }
  #payableChargesContainer table td:nth-of-type(4)::before {
    content: "Penalty/Int/Fees";
  }
  #payableChargesContainer table td:nth-of-type(5)::before {
    content: "Payments";
  }
  #payableChargesContainer table td:nth-of-type(6)::before {
    content: "Cumulative Due";
  }
  #payableChargesContainer table td:nth-last-of-type(1) {
    margin-bottom: 15px;
  }
  #payableChargesContainer table td:nth-of-type(1) {
    background-color: #0F4656;
    color: white;
  }
  /* Cart mobile style */
  div.contentpanel:has(table.cart-view__table) {
    width: 100% !important;
    padding: 0 !important;
  }
  div.contentpanel:has(table.cart-view__table) div:nth-of-type(1) {
    padding: 1%;
  }
  table.cart-view__table thead {
    display: none;
  }
  table.cart-view__table td {
    border: none;
    position: relative;
    padding-left: 50%;
    width: 100%;
    box-sizing: border-box;
  }
  table.cart-view__table td::before {
    position: absolute;
    top: 0;
    left: 6px;
    width: 45%;
    padding-right: 10%;
    white-space: nowrap;
  }
  table.cart-view__table td:nth-of-type(1)::before {
    content: "Remove from cart";
  }
  table.cart-view__table td:nth-of-type(2)::before {
    content: "Parcel";
  }
  table.cart-view__table td:nth-of-type(3)::before {
    content: "Property Address";
  }
  table.cart-view__table td:nth-of-type(4)::before {
    content: "Tax Year";
  }
  table.cart-view__table td:nth-of-type(5)::before {
    content: "Type";
  }
  table.cart-view__table td:nth-of-type(6)::before {
    content: "Total Balance";
  }
  table.cart-view__table td:nth-of-type(7)::before {
    content: "Payment Amount";
  }
  table.cart-view__table td:nth-last-of-type(1) {
    margin-bottom: 15px;
  }
  table.cart-view__table td:nth-of-type(1) {
    background-color: #0F4656;
    color: white;
  }
  .cart-view__table tr td:last-child {
    text-align: left !important;
  }
  /* Photo viewer mobile styles */
  #container {
    display: block;
    clear: both;
  }
  #container > #head > #dataletHeader {
    width: 100% !important;
    border: 0;
  }
  #head {
    margin-left: 0 !important;
  }
  #head ~ div[style="margin-left: 210px;"] {
    margin-left: 0 !important;
  }
  #head ~ div[style="margin-left: 210px;"] .contentHolder[style="width: 655px; height: 622px;"] {
    width: 100% !important;
  }
  .dm-photopanel {
    width: 100% !important;
    height: auto !important;
  }
  #footerFlex {
    display: block;
  }
}