@keyframes placeHolderShimmer {
  0% {
    background-position: 0px 0;
  }
  100% {
    background-position: 100em 0;
  }
}
.loading {
  animation: placeHolderShimmer 10s linear infinite reverse;
  background: linear-gradient(to right, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);
}
.db_hide {
  display: none !important;
}
/*
loader ring
 */
.lds-dual-ring {
  display: block;
  width: 60px;
  height: 60px;
  margin: 0 auto;
}
.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 32px;
  height: 32px;
  margin: 8px;
  border-radius: 50%;
  border: 6px solid rgba(122, 122, 122, 0.7);
  border-color: rgba(122, 122, 122, 0.7) transparent rgba(122, 122, 122, 0.7) transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.mtgdeckbody .content {
  width: 100% !important;
}
.db_btn {
  line-height: 30px;
  border-radius: 0px;
  box-sizing: border-box;
  padding-left: 20px;
  padding-right: 20px;
  text-decoration: none;
  display: inline-block;
  border: 2px solid #E95024;
  background-color: #E95024;
  color: #fff;
  font-size: 16px;
  font-weight: 300;
}
.db_btn:hover {
  color: #E95024;
  background-color: #fff;
  border: 2px solid #E95024;
}
.db_btn.loading {
  color: #E95024;
}
.deckblock {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.deckblock__main {
  width: calc(100% - 340px);
}
.deckblock__side {
  width: 300px;
}
.deckblock__side textarea {
  width: 100%;
  height: 450px;
  padding: 10px;
  font-size: 13px;
  line-height: 14px;
}
.deckblock__side input {
  width: 100%;
}
.deckblock__side select {
  width: 100%;
}
.deckblock__side h2 {
  display: block;
}
.js-tabcontent .js-tabmenu_tab {
  display: none;
}
.js-tabcontent .js-tabmenu_tab.active {
  display: block;
}
.js-tabcontent .js-tabmenu {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: space-evenly;
}
.js-tabcontent .js-tabmenu li {
  flex-grow: 1;
  text-align: center;
}
.js-tabcontent .js-tabmenu li a,
.js-tabcontent .js-tabmenu li span {
  line-height: 40px;
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid #e1e1e1;
  border-top: 1px solid transparent;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  border-radius: 4px 4px 0px 0px;
  color: #E95024;
}
.js-tabcontent .js-tabmenu li a:hover,
.js-tabcontent .js-tabmenu li span:hover {
  background-color: rgba(255, 240, 100, 0.1);
  border-top: 1px solid #e1e1e1;
  border-left: 1px solid #e1e1e1;
  border-right: 1px solid #e1e1e1;
  border-bottom: 1px solid transparent;
}
.js-tabcontent .js-tabmenu li a.active,
.js-tabcontent .js-tabmenu li span.active {
  background-color: rgba(0, 255, 0, 0);
  border-top: 1px solid #e1e1e1;
  border-left: 1px solid #e1e1e1;
  border-right: 1px solid #e1e1e1;
  border-bottom: 1px solid transparent;
}
.mtg_db_decklist {
  width: 100%;
}
.mtg_db_decklist__topmenu {
  width: 100%;
}
.mtg_db_decklist__topmenu ul {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.mtg_db_decklist__topmenu ul li {
  flex-grow: 1;
  text-align: center;
}
.mtg_db_decklist__topmenu ul li a {
  display: inline-block;
  width: 100%;
  line-height: 40px;
}
.mtg_db_decklist__topmenu ul li a:hover {
  background-color: rgba(255, 220, 0, 0.4);
}
.mtg_db_decklist__topmenu ul li a.active {
  background-color: rgba(120, 255, 0, 0.4);
}
.mtg_db_decklist__header {
  break-after: avoid;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 4px;
  text-transform: capitalize;
}
.mtg_db_decklist__content {
  display: none;
}
.mtg_db_decklist__content.active {
  display: block;
}
.mtg_db_decklist__content_cardlist {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
  list-style: none;
  padding: 0;
  margin: 0;
}
.mtg_db_decklist__content_cardlist li {
  margin-bottom: 0;
  line-height: 18px;
}
.mtg_db_decklist__content_cardlist li table {
  border: 0;
  width: 100%;
}
.mtg_db_decklist__content_cardlist li table.deck_overview tr {
  border: 0;
}
.mtg_db_decklist__content_cardlist li table.deck_overview tr td {
  text-align: left;
  border: 0;
  padding: 0;
}
.mtg_db_decklist__content_cardlist li table.deck_overview tr td:nth-of-type(1) {
  width: 18px;
}
.mtg_db_decklist__content_cardlist li table.deck_overview tr td:nth-of-type(3) {
  width: 120px;
}
.mtg_db_decklist__content_cardlist li table.deck_smallview tr {
  border: 0;
}
.mtg_db_decklist__content_cardlist li table.deck_smallview tr td {
  text-align: left;
  border: 0;
  padding: 0;
}
.mtg_db_decklist__content_cardlist li table.deck_smallview tr td:nth-of-type(1) {
  width: 18px;
}
.mtg_db_decklist__content_cardlist li table.deck_smallview tr td:nth-of-type(2) {
  width: 30px;
}
.mtg_db_decklist__content_cardlist li table.deck_xsmallview tr {
  border: 0;
}
.mtg_db_decklist__content_cardlist li table.deck_xsmallview tr td {
  text-align: left;
  border: 0;
  padding: 0;
}
.mtg_db_decklist__content_cardlist li table.deck_xsmallview tr td:nth-of-type(1) {
  width: 18px;
}
.mtg_db_decklist__content_sideboard {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
  list-style: none;
  padding: 0;
  margin: 0;
}
.mtg_db_decklist__content_sideboard li {
  margin-bottom: 0;
  line-height: 18px;
}
.mtg_db_decklist__content_sideboard li table {
  border: 0;
  width: 100%;
}
.mtg_db_decklist__content_sideboard li table.deck_overview tr {
  border: 0;
}
.mtg_db_decklist__content_sideboard li table.deck_overview tr td {
  text-align: left;
  border: 0;
  padding: 0;
}
.mtg_db_decklist__content_sideboard li table.deck_overview tr td:nth-of-type(1) {
  width: 18px;
}
.mtg_db_decklist__content_sideboard li table.deck_overview tr td:nth-of-type(3) {
  width: 120px;
}
/*

LOGIN/REG BLOCK

 */
.authblock__bg {
  background-color: rgba(0, 0, 0, 0.4);
  top: 0;
  left: 0;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  z-index: 200;
}
.authblock__close {
  color: #000;
  position: absolute;
  right: 15px;
  top: 15px;
}
.authblock__close svg {
  fill: currentColor;
  width: 20px;
  height: 20px;
}
.authblock__switch {
  padding-bottom: 10px;
  width: 300px;
  display: flex;
  justify-content: space-between;
}
.authblock__switch a {
  text-decoration: none;
  font-size: 18px;
  line-height: 18px;
  padding-bottom: 4px;
  font-family: 'Source Sans Pro Narrow', sans-serif;
  color: #000;
}
.authblock__switch a.current {
  border-bottom: 2px solid;
}
.authblock__content {
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  width: calc(100% - 30px);
  max-width: 380px;
  padding: 15px;
  position: relative;
  box-sizing: border-box;
}
.authblock__form {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.authblock__form form {
  width: 100%;
}
.authblock__form input {
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 1px solid #dedede;
  line-height: 40px;
  text-align: left;
  width: 100%;
}
.authblock__form input:focus {
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  outline-offset: 0px !important;
  outline: none !important;
  border-bottom: 1px solid #666;
}
.authblock__form a {
  margin-top: 10px;
}
.authblock__loading {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
}
.typeslist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.typeslist li {
  display: inline-block;
}
.mtgtooltip {
  position: relative;
}
.mtgtooltip .mtgtooltiptext {
  opacity: 0;
  transition: all 300ms;
  width: 120px;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  left: 50%;
  margin-left: -60px;
  top: 0px;
  text-transform: lowercase;
  font-size: 16px;
}
.mtgtooltip .mtgtooltiptext:first-letter {
  text-transform: capitalize;
}
.mtgtooltip .mtgtooltiptext_top {
  top: -40px !important;
}
.mtgtooltip .mtgtooltiptext_bottom {
  bottom: 40px !important;
  top: auto !important;
}
.mtgtooltip .mtgtooltiptext_left {
  left: 10px !important;
  margin-left: 0px !important;
}
.mtgtooltip .mtgtooltiptext_right {
  left: auto !important;
  right: 10px !important;
  margin-left: 0px !important;
}
.mtgtooltip .mtgtooltiptext:after {
  content: " ";
  position: absolute;
  top: 100%;
  /* At the bottom of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}
.mtgtooltip:hover .mtgtooltiptext {
  opacity: 1;
}
.mtgtooltip_b {
  position: relative;
}
.mtgtooltip_b .mtgtooltiptext_b {
  opacity: 0;
  transition: all 300ms;
  width: 120px;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  left: 50%;
  margin-left: -60px;
  top: 0px;
  text-transform: lowercase;
  font-size: 16px;
}
.mtgtooltip_b .mtgtooltiptext_b:first-letter {
  text-transform: capitalize;
}
.mtgtooltip_b .mtgtooltiptext_b_top {
  top: -40px !important;
}
.mtgtooltip_b .mtgtooltiptext_b_bottom {
  bottom: 40px !important;
  top: auto !important;
}
.mtgtooltip_b .mtgtooltiptext_b_left {
  left: 10px !important;
  margin-left: 0px !important;
}
.mtgtooltip_b .mtgtooltiptext_b_right {
  left: auto !important;
  right: 10px !important;
  margin-left: 0px !important;
}
.mtgtooltip_b .mtgtooltiptext_b:after {
  content: " ";
  position: absolute;
  top: 100%;
  /* At the bottom of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}
.mtgtooltip_b:hover .mtgtooltiptext_b {
  opacity: 1;
}
.winchance {
  margin-top: 10px;
  margin-bottom: 10px;
  height: 40px;
  box-sizing: border-box;
  line-height: 40px;
  background-color: #f4a997;
  width: 100%;
  transition: all 4200ms;
}
.winchance:hover {
  background-color: #f4c9b7 !important;
}
.winchance__rate {
  background-color: #e46633;
  display: block;
  height: 40px;
  line-height: 40px;
  text-align: center;
  color: #ffffff;
  font-size: 13px;
  transition: all 4200ms;
  font-style: normal;
}
.winchance__rate.static {
  color: rgba(255, 255, 255, 0);
  width: 0% !important;
  transition: all 4200ms;
}
.winchance__rate:hover {
  background-color: #f46633 !important;
}
.rarity_common {
  color: #000;
  fill: url(#common-gradient);
}
.rarity_uncommon {
  color: #999;
  fill: url(#uncommon-gradient);
}
.rarity_rare {
  color: #fc0;
  fill: url(#rare-gradient);
}
.rarity_mythic {
  color: #d60;
  fill: url(#mythic-gradient);
}
.entry_status_ok_companion {
  background-color: rgba(0, 120, 255, 0.1);
  color: #001eb4;
}
.entry_status_ok_deck {
  background-color: rgba(120, 255, 0, 0.1);
  color: #1eb400;
}
.entry_status_ok_sideboard {
  background-color: rgba(220, 155, 0, 0.1);
  color: #825000;
}
.entry_status_error {
  background-color: rgba(200, 0, 0, 0.1);
  color: #c80000;
}
.ct-chart {
  width: 100%;
  height: 200px;
  transform: translateY(10px);
}
.chartist_manacost {
  width: 20px;
  stroke: #99ccff;
}
.chartist_rarity_common {
  color: #000;
  stroke: #000;
}
.chartist_rarity_uncommon {
  color: #999;
  stroke: #999;
}
.chartist_rarity_rare {
  color: #fc0;
  stroke: #fc0;
}
.chartist_rarity_mythic {
  color: #d60;
  stroke: #d60;
}
.chartist_color_U {
  stroke: #798793;
  fill: #c1d7e9;
  border-color: #798793;
  background-color: #c1d7e9;
}
.chartist_color_R {
  stroke: #8b5d48;
  fill: #e49977;
  border-color: #8b5d48;
  background-color: #e49977;
}
.chartist_color_G {
  stroke: #65765c;
  fill: #a3c095;
  border-color: #65765c;
  background-color: #a3c095;
}
.chartist_color_W {
  stroke: #aaa994;
  fill: #f8f6d8;
  border-color: #aaa994;
  background-color: #f8f6d8;
}
.chartist_color_B {
  stroke: #77716d;
  fill: #bab1ab;
  border-color: #77716d;
  background-color: #bab1ab;
}
.chartist_color_X {
  stroke: #afb1bc;
  fill: #d1d7e3;
  border-color: #afb1bc;
  background-color: #d1d7e3;
}
.deckheader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.deckheader__left {
  width: 260px;
  height: auto;
}
.deckheader__left img {
  width: 100%;
  border-radius: 10px;
}
.deckheader__right {
  width: calc(100% - 280px);
  height: auto;
}
.deckheader__right .deckstats {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 40px;
}
.deckheader__right .deckstats__left {
  width: calc(50% - 10px);
  height: 300px;
  padding-top: 10px;
}
.deckheader__right .deckstats__left p {
  margin: 0;
  padding: 0;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 22px;
  font-weight: bold;
}
.deckheader__right .deckstats__right {
  padding-top: 10px;
  height: 300px;
  width: calc(50% - 10px);
}
.deckheader__right .deckstats__right p {
  margin: 0;
  padding: 0;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 22px;
  font-weight: bold;
}
.deckheader__right .deckstats__overview {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.deckheader__right .deckstats__overview__left {
  width: 50%;
}
.deckheader__right .deckstats__overview__right {
  text-align: right;
  width: 50%;
}
.deckheader__right .deckstats__mana {
  width: 100%;
  height: 80px;
  margin-bottom: 40px;
}
.deckheader__right .deckstats__rarity {
  width: 100%;
  height: 80px;
  margin-bottom: 40px;
}
.deckheader__right .deckstats__types svg {
  width: 16px;
  height: 16px;
}
.deckicon {
  padding: 0;
  background-color: transparent;
  color: #000;
}
.deckicon:hover {
  color: #E95024;
  background-color: transparent;
}
.deckicon svg {
  width: 24px;
  height: 24px;
  font-size: 24px;
  fill: currentColor;
}
.exportlinks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 10px;
}
.exportlinks li {
  margin-left: 4px;
  margin-right: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.socialshares {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  line-height: 33px;
  height: 33px;
}
.socialshares li {
  margin-left: 4px;
  margin-right: 4px;
  line-height: 33px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.socialshares li a {
  width: 24px;
  height: 24px;
  display: block;
}
.socialshares li svg {
  width: 24px;
  height: 24px;
  line-height: 33px;
  display: inline-block;
}
.mtgdbgraph__line {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-evenly;
}
.mtgdbgraph__line__item {
  height: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-color: #fff;
  border-style: solid;
  border-width: 1px;
  border-right-width: 0px;
  font-size: 13px;
  position: relative;
  transition: all 200ms;
}
.mtgdbgraph__line__item:hover .mtgdbgraph__line__item_icon svg {
  width: 18px;
  height: 18px;
}
.mtgdbgraph__line__item:last-of-type {
  border-right-width: 1px;
}
.mtgdbgraph__line__item_icon {
  position: absolute;
  width: 100%;
  text-align: center;
  left: 0px;
  bottom: -30px;
}
.mtgdbgraph__line__item_icon svg {
  transition: all 200ms;
  width: 14px;
  height: 14px;
}
.mtgdbgraph__line__item_color_U {
  stroke: #798793;
  fill: #c1d7e9;
  border-color: #798793;
  background-color: #c1d7e9;
}
.mtgdbgraph__line__item_color_R {
  stroke: #8b5d48;
  fill: #e49977;
  border-color: #8b5d48;
  background-color: #e49977;
}
.mtgdbgraph__line__item_color_G {
  stroke: #65765c;
  fill: #a3c095;
  border-color: #65765c;
  background-color: #a3c095;
}
.mtgdbgraph__line__item_color_W {
  stroke: #aaa994;
  fill: #f8f6d8;
  border-color: #aaa994;
  background-color: #f8f6d8;
}
.mtgdbgraph__line__item_color_B {
  stroke: #77716d;
  fill: #bab1ab;
  border-color: #77716d;
  background-color: #bab1ab;
}
.mtgdbgraph__line__item_color_X {
  stroke: #afb1bc;
  fill: #d1d7e3;
  border-color: #afb1bc;
  background-color: #d1d7e3;
}
.mtgdbgraph__line__item_color_C {
  stroke: #afb1bc;
  fill: #d1d7e3;
  border-color: #afb1bc;
  background-color: #d1d7e3;
}
.mtgdbgraph__bar {
  width: 100%;
  display: flex;
  height: 100%;
  align-items: flex-end;
  justify-content: flex-start;
}
.mtgdbgraph__bar__item {
  background-color: rgba(135, 202, 245, 0.05);
  border: 1px solid rgba(135, 202, 245, 0.05);
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-sizing: border-box;
  height: 100%;
  text-transform: capitalize;
}
.mtgdbgraph__bar__item_common {
  transition: all 200ms;
  opacity: 0.6;
  color: #000;
  stroke: #000;
  border-color: #000 !important;
  background-color: #000 !important;
}
.mtgdbgraph__bar__item_common:hover {
  opacity: 1;
}
.mtgdbgraph__bar__item_uncommon {
  transition: all 200ms;
  opacity: 0.6;
  color: #999;
  stroke: #999;
  border-color: #999 !important;
  background-color: #999 !important;
}
.mtgdbgraph__bar__item_uncommon:hover {
  opacity: 1;
}
.mtgdbgraph__bar__item_rare {
  transition: all 200ms;
  opacity: 0.6;
  color: #fc0;
  stroke: #fc0;
  border-color: #fc0 !important;
  background-color: #fc0 !important;
}
.mtgdbgraph__bar__item_rare:hover {
  opacity: 1;
}
.mtgdbgraph__bar__item_mythic {
  transition: all 200ms;
  opacity: 0.6;
  color: #d60;
  stroke: #d60;
  border-color: #d60 !important;
  background-color: #d60 !important;
}
.mtgdbgraph__bar__item_mythic:hover {
  opacity: 1;
}
.mtgdbgraph__bar__item_inner {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-sizing: border-box;
  background-color: rgba(135, 202, 245, 0.25);
  width: 100%;
  flex-grow: 1;
  position: relative;
  transition: all 200ms;
}
.mtgdbgraph__bar__item_inner i {
  position: absolute;
  display: block;
  width: 100%;
  text-align: center;
  bottom: -30px;
  left: 0px;
  font-style: normal;
  font-size: 13px;
}
.mtgdbgraph__bar__item_inner:hover {
  background-color: rgba(135, 202, 245, 0.45);
}
.mtgdbgraph__bar__item_inner:hover i {
  font-weight: bold;
}
.deckpages {
  padding: 0;
  margin-top: 20px;
  list-style: none;
}
.deckpages li {
  width: 40px;
  text-align: center;
  height: 40px;
  box-sizing: border-box;
  border: 1px solid #f1f1f1;
  line-height: 40px;
  display: inline-block;
}
.deckpages li.current {
  background-color: #f1f1f1;
}
.deckpages li a {
  text-decoration: none;
  display: inline-block;
  width: 100%;
  height: 100%;
}
.decksearch__color ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.decksearch__color ul li {
  text-align: center;
}
.decksearch__color ul li label {
  cursor: pointer;
}
.decksearch__color ul li svg {
  width: 24px;
  height: 24px;
}
.decksearch__name {
  margin-bottom: 10px;
}
.decksearch__mode {
  margin-bottom: 10px;
}
.decksearch__format {
  margin-bottom: 10px;
}
.decksearch__submit {
  margin-bottom: 20px;
}
.deckgrid {
  padding: 0;
  margin: 0;
  width: 100%;
  list-style: none;
  display: block;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-left: -7px;
  margin-right: -7px;
}
.deckgrid:after {
  content: ' ';
  display: block;
  clear: both;
}
.deckgrid__block {
  width: calc(33.3% - 15px);
  display: inline-block;
  height: 300px;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
  margin-bottom: 20px;
  transition: all 300ms;
  position: relative;
  float: left;
  margin-left: 7px;
  margin-right: 7px;
}
@media (max-width: 1100px) {
  .deckgrid__block {
    width: calc(50% - 15px);
  }
}
@media (max-width: 480px) {
  .deckgrid__block {
    width: calc(100% - 0px);
  }
}
.deckgrid__block:hover {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}
.deckgrid__block:hover .deckgrid__cover {
  opacity: 0.8;
}
.deckgrid__cover {
  width: 100%;
  background-size: 400px;
  background-position: 50% -64px;
  min-height: 220px;
  border-radius: 6px 6px 0px 0px;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
  color: #fff;
  position: relative;
  font-size: 18px;
  line-height: 22px;
  transition: all 300ms;
}
.deckgrid__title {
  font-size: 18px;
  line-height: 18px;
  margin-bottom: 10px;
  box-sizing: border-box;
  padding-left: 10px;
  padding-right: 10px;
}
.deckgrid__mana {
  box-sizing: border-box;
  padding-left: 10px;
  padding-right: 10px;
  line-height: 14px;
  position: absolute;
  bottom: 10px;
  right: 0px;
}
.deckgrid__mana svg {
  width: 14px;
  height: 14px;
}
.deckgrid__date {
  box-sizing: border-box;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 12px;
  line-height: 12px;
  position: absolute;
  bottom: 10px;
  left: 0px;
}
.deckgrid__manage {
  box-sizing: border-box;
  padding-left: 10px;
  padding-right: 10px;
  position: absolute;
  right: 0px;
  bottom: 45px;
  line-height: 14px;
  text-align: right;
}
.deckgrid__manage a {
  color: #cc0000;
  font-size: 14px;
}
.deckgrid__manage a:hover {
  color: #cc0000;
  text-decoration: underline;
}
@media (max-width: 960px) {
  .deckname_text {
    display: block;
  }
  .deckblock {
    width: 100%;
    display: block;
    align-items: flex-start;
    justify-content: space-between;
  }
  .deckblock__main {
    width: 100%;
  }
  .deckblock__side {
    width: 100%;
  }
  .deckblock__side textarea {
    width: 100%;
    height: 450px;
    padding: 10px;
    font-size: 13px;
    line-height: 14px;
  }
  .deckblock__side input {
    width: 100%;
  }
  .deckblock__side select {
    width: 100%;
  }
  .deckblock__side h2 {
    display: block;
  }
  .deckheader {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }
  .deckheader__left {
    width: 260px;
    height: auto;
  }
  .deckheader__left img {
    width: 100%;
    border-radius: 10px;
  }
  .deckheader__right {
    width: calc(100% - 280px);
    height: auto;
  }
  .deckheader__right .deckstats {
    display: block;
    width: 100%;
    height: 100%;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 0px;
  }
  .deckheader__right .deckstats__left {
    width: 100%;
    height: auto;
    padding-top: 10px;
  }
  .deckheader__right .deckstats__left p {
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 22px;
    font-weight: bold;
  }
  .deckheader__right .deckstats__right {
    padding-top: 10px;
    height: auto;
    width: 100%;
  }
  .deckheader__right .deckstats__right p {
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 22px;
    font-weight: bold;
  }
  .deckheader__right .deckstats__overview {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }
  .deckheader__right .deckstats__overview__left {
    width: 40%;
  }
  .deckheader__right .deckstats__overview__right {
    text-align: right;
    width: 60%;
  }
  .deckheader__right .deckstats__mana {
    width: 100%;
    height: 80px;
    margin-bottom: 40px;
  }
  .deckheader__right .deckstats__rarity {
    width: 100%;
    height: 80px;
    margin-bottom: 40px;
  }
  .deckheader__right .deckstats__types svg {
    width: 16px;
    height: 16px;
  }
}
@media (max-width: 680px) {
  .deckheader {
    display: block;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
  }
  .deckheader__left {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }
  .deckheader__left img {
    width: 80%;
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  .deckheader__right {
    width: 100%;
    height: auto;
  }
  .deckheader__right .deckstats {
    display: block;
    width: 100%;
    height: 100%;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 0px;
  }
  .deckheader__right .deckstats__left {
    width: 100%;
    height: auto;
    padding-top: 10px;
  }
  .deckheader__right .deckstats__left p {
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 22px;
    font-weight: bold;
  }
  .deckheader__right .deckstats__right {
    padding-top: 40px;
    height: auto;
    width: 100%;
  }
  .deckheader__right .deckstats__right p {
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 22px;
    font-weight: bold;
  }
  .deckheader__right .deckstats__overview {
    width: 100%;
    display: block;
    align-items: flex-start;
    justify-content: space-between;
  }
  .deckheader__right .deckstats__overview__left {
    width: 100%;
  }
  .deckheader__right .deckstats__overview__right {
    text-align: left;
    width: 100%;
  }
  .deckheader__right .deckstats__mana {
    width: 100%;
    height: 80px;
    margin-bottom: 40px;
  }
  .deckheader__right .deckstats__rarity {
    width: 100%;
    height: 80px;
    margin-bottom: 40px;
  }
  .deckheader__right .deckstats__types svg {
    width: 16px;
    height: 16px;
  }
  .mtg_db_decklist {
    width: 100%;
  }
  .mtg_db_decklist__topmenu {
    width: 100%;
  }
  .mtg_db_decklist__topmenu ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .mtg_db_decklist__topmenu ul li {
    flex-grow: 1;
    text-align: center;
  }
  .mtg_db_decklist__topmenu ul li a {
    display: inline-block;
    width: 100%;
    line-height: 40px;
  }
  .mtg_db_decklist__topmenu ul li a:hover {
    background-color: rgba(255, 220, 0, 0.4);
  }
  .mtg_db_decklist__topmenu ul li a.active {
    background-color: rgba(120, 255, 0, 0.4);
  }
  .mtg_db_decklist__header {
    break-after: avoid;
    font-weight: bold;
    padding-top: 10px;
    padding-bottom: 4px;
    text-transform: capitalize;
  }
  .mtg_db_decklist__content {
    display: none;
  }
  .mtg_db_decklist__content.active {
    display: block;
  }
  .mtg_db_decklist__content_cardlist {
    columns: 1;
    -webkit-columns: 1;
    -moz-columns: 1;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .mtg_db_decklist__content_cardlist li {
    margin-bottom: 0;
    line-height: 18px;
  }
  .mtg_db_decklist__content_cardlist li table {
    border: 0;
    width: 100%;
  }
  .mtg_db_decklist__content_cardlist li table.deck_overview tr {
    border: 0;
  }
  .mtg_db_decklist__content_cardlist li table.deck_overview tr td {
    text-align: left;
    border: 0;
    padding: 0;
  }
  .mtg_db_decklist__content_cardlist li table.deck_overview tr td:nth-of-type(1) {
    width: 18px;
  }
  .mtg_db_decklist__content_cardlist li table.deck_overview tr td:nth-of-type(3) {
    width: 120px;
  }
  .mtg_db_decklist__content_cardlist li table.deck_smallview tr {
    border: 0;
  }
  .mtg_db_decklist__content_cardlist li table.deck_smallview tr td {
    text-align: left;
    border: 0;
    padding: 0;
  }
  .mtg_db_decklist__content_cardlist li table.deck_smallview tr td:nth-of-type(1) {
    width: 18px;
  }
  .mtg_db_decklist__content_cardlist li table.deck_smallview tr td:nth-of-type(2) {
    width: 30px;
  }
  .mtg_db_decklist__content_cardlist li table.deck_xsmallview tr {
    border: 0;
  }
  .mtg_db_decklist__content_cardlist li table.deck_xsmallview tr td {
    text-align: left;
    border: 0;
    padding: 0;
  }
  .mtg_db_decklist__content_cardlist li table.deck_xsmallview tr td:nth-of-type(1) {
    width: 18px;
  }
  .mtg_db_decklist__content_sideboard {
    columns: 1;
    -webkit-columns: 1;
    -moz-columns: 1;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .mtg_db_decklist__content_sideboard li {
    margin-bottom: 0;
    line-height: 18px;
  }
  .mtg_db_decklist__content_sideboard li table {
    border: 0;
    width: 100%;
  }
  .mtg_db_decklist__content_sideboard li table.deck_overview tr {
    border: 0;
  }
  .mtg_db_decklist__content_sideboard li table.deck_overview tr td {
    text-align: left;
    border: 0;
    padding: 0;
  }
  .mtg_db_decklist__content_sideboard li table.deck_overview tr td:nth-of-type(1) {
    width: 18px;
  }
  .mtg_db_decklist__content_sideboard li table.deck_overview tr td:nth-of-type(3) {
    width: 120px;
  }
  .socialshares {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    line-height: 33px;
    height: 33px;
  }
  .socialshares li {
    margin-left: 4px;
    margin-right: 4px;
    line-height: 33px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .socialshares li:first-of-type {
    margin-left: 0;
  }
  .socialshares li a {
    width: 24px;
    height: 24px;
    display: block;
  }
  .socialshares li svg {
    width: 24px;
    height: 24px;
    line-height: 33px;
    display: inline-block;
  }
  .exportlinks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 0px;
  }
  .exportlinks li {
    margin-left: 4px;
    margin-right: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .exportlinks li:first-of-type {
    margin-left: 0;
  }
  body[class*="mtgdeck"] .content_wrap {
    width: calc(100% - 40px) !important;
  }
}
