/* Mixin */
/* reset */
* {
  padding: 0;
  margin: 0;
}

nav {
  background-color: #372e29;
  height: 56px;
  padding: 0 16px;
  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  font-size: 18px;
  font: normal normal normal 12px/18px Arial, sans-serif;
}
nav .m-menu__checkbox {
  display: none;
}
nav label.m-menu__toggle_top {
  cursor: pointer;
  width: calc(30px + 4vw);
}
nav label.m-menu__toggle {
  cursor: pointer;
}
nav .m-menu {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 450px;
  width: calc(100vw - 30px);
  height: 100%;
  -moz-transform: translate3d(-450px, 0, 0);
  -o-transform: translate3d(-450px, 0, 0);
  -ms-transform: translate3d(-450px, 0, 0);
  -webkit-transform: translate3d(-450px, 0, 0);
  transform: translate3d(-450px, 0, 0);
  -moz-transition: transform 0.15s;
  -o-transition: transform 0.15s;
  -webkit-transition: transform 0.15s;
  transition: transform 0.15s;
  z-index: 1;
  overflow: hidden;
  background-color: #fbfbfb;
}
nav .m-menu__overlay {
  background-color: rgba(103, 103, 103, 0.5);
  position: absolute;
  top: 0;
  width: 100%;
  bottom: 0;
  z-index: 1;
  display: none;
}
nav .m-menu__header {
  padding: 0 16px;
  height: 56px;
  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-around;
  justify-content: space-around;
  -ms-flex-pack: space-around;
  -webkit-align-items: center;
  align-items: center;
  border-bottom: 1px solid #e8e8e8;
}
nav .m-menu__header span {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  width: 100%;
}
nav .title span {
  /*padding: 5vw;*/
  text-indent: 10vw;
  font-family: "Manaco", monospace;
  font-size: 28px;
  font-weight: bold;
  font-style: oblique;
  color: #4f3;
}
nav .m-menu .m-menu {
  -moz-transform: translate3d(480px, 0, 0);
  -o-transform: translate3d(480px, 0, 0);
  -ms-transform: translate3d(480px, 0, 0);
  -webkit-transform: translate3d(480px, 0, 0);
  transform: translate3d(480px, 0, 0);
}
nav .m-menu ol {
  height: 100%;
  overflow-y: auto;
}
nav .m-menu ol li a, nav .m-menu ol li label {
  display: block;
  text-align: left;
  padding: 0 35px;
  line-height: 47px;
  text-decoration: none;
  color: #333;
  cursor: pointer;
  font-size: 17px;
  border-bottom: 1px solid #e8e8e8;
  position: relative;
}
nav .m-menu ol li label.a-label__chevron::after {
  content: "";
  position: absolute;
  display: inline-block;
  height: 10px;
  width: 10px;
  border-color: #333;
  border-style: solid;
  border-width: 1px 1px 0 0;
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 50%;
  margin-top: -5px;
  right: 16px;
}
nav .m-menu ol li .-invisible {
  border-bottom: 0;
}
nav .m-menu .m-menu label.m-menu__toggle {
  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  border-bottom: 0;
  padding: 0;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}
nav .m-menu__checkbox:checked ~ .m-menu__overlay {
  display: block;
}
nav .m-menu__checkbox:checked ~ .m-menu {
  -moz-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
nav .search_form {
    display: flex;
    flex-direction: row;
}
nav .search_field {
  width: 300px;
  max-width: 45vw;
  margin-left: 10px;
  padding: 10px 40px 10px 22px;
  border-radius: 100px;
  outline: none;
  font-size: 18px;
  border: none;
}
nav .search_button {
  background: transparent;
  border: none;
  outline: none;
  margin-left: -33px;
  margin-right: 110px;
  @media (pointer:none), (pointer:coarse) { margin-right: 30px; }
}
nav .search_button img {
  width: 20px;
  height: 20px;
  object-fit: cover;
}
.columnlist {
    margin-top: 23px;
    margin-left: 6px;
    margin-right: 6px;
    column-gap: 13px;
    column-rule-width: 1px;
    column-rule-style: dotted;
    column-rule-color: #9e9e9e;
    column-width: 360px;
    list-style-type: none;
}
.deckheaderfirst {
    margin: 0px 0px 15px 15px;
    font-weight: bold;
    font-size: 22px;
    text-shadow: 2px 2px lightgrey;
    /*font-family: "Gill Sans", sans-serif;*/
}
.deckheader {
    margin: 24px 0px 15px 15px;
    font-size: 18px;
    font-weight: bold;
    /*font-family: "Gill Sans", sans-serif;*/
}
.deckcards {
  font-size: 17px;
  list-style-type: none;
  color: black;
  /*font-family: "Fira Mono", monospace;*/
  /*font-family: "Gill Sans", sans-serif;*/
}
.deckcards li{
  margin-top: 4px;
  margin-left: 5px;
  margin-right: 5px;
  list-style-type: none;
}
.deckcards li ul {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.phy {
  background-color: #a22;
  border: 1px solid #a22;
}
.darkrow {
  border-color: #f2f2f2;
  border-style: solid;
  background-color: #f2f2f2;
}
.lightrow li {
  margin-right: 8px;
  margin-left: 8px;
}
.cardprice {
  font-family: "Manaco", monospace;
  color: #45a160;
  font-weight: bolder;
  margin-left: 5px;
  font-size: 19px;
}
.searchheader {
    margin-left: 15px;
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    font-size: 24px;
}
.searcherror {
    text-align: center;
    margin-top: 80px;
    font-size: 28px;
}
.searchterm {
  margin-left: 15px;
  margin-right: 15px;
  font-weight: bold;
  font-size: 26px;
  color: red;
}
.searchcard {
    margin: 25px 0px 5px 35px;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    color: black;
}
.searchcmc {
    margin-left: 23px;
    display: flex;
}
.cmcreg {
  height: 18px;
}
.cmclarge {
  margin-right: 4px;
  height: 20px;
}
.searchcarddecks {
  margin-left: 35px;
  display: grid;
  color: teal;
  grid-template-columns: repeat(auto-fill, 280px);
  grid-auto-flow: row;
  margin-bottom: 45px;
  column-gap: 15px;
  grid-auto-rows: 24px;
}
.searchdeck {
    font-size: 17px;
}
.mainpng {
  max-width 480px;
  margin-left: 2px;
  margin-top: 6px;
}
.maintext {
  max-width: 600px;
  text-align: center;
  line-height: 30px;
  margin-top: 5px;
  font-size: 24px;
}
.menu_img {
  float: right;
  position: relative;
  top: 14px;
  height: 20px;
}


a:link, a:visited {
  color: inherit;
  text-decoration: none;
}

hr {
  margin-left: 18px;
  margin-right: 18px;
  margin-top: 8px;
  height: 12px;
  border: 0;
  box-shadow: inset 0 5px 5px -5px rgba(0,0,0,0.5);
}

/*.wrapper {
  width: 480px;
  height: 667px;
  margin: 0 auto;
  overflow: hidden;
  background-color: #fff;
  position: relative;
}*/

body {
  background-color: #fbfbfb;
  font: normal normal normal 12px/18px Arial, sans-serif;
}
