table#subchart {
	width: 100%;
    table-layout: fixed;
}

table#subchart td {
	vertical-align: middle;
    padding: 30px 0px 40px 24px;
    text-align: center;
}

table#subchart td:first-of-type {
	padding: 20px 0px;
}

table#subchart td:first-of-type h1 {
	padding: 0px;
    margin: 0;
    font-size: 60px;
    color: #999;
    vertical-align: text-top;
    line-height: 55px;
}

table#subchart td:first-of-type div.basic h1 {
	color: #407ec9;	
}

table#subchart td:first-of-type div.pro h1 {
    color: #36B835;
}

table#subchart td:first-of-type div.ultra h1 {
    color: #f6b340;
}

table#subchart td:first-of-type h1 span {
	font-size: 25px;
    vertical-align: text-top;
    margin: 0px 1px;
    line-height: 55px;
    color: rgba(153,153,153,0.9);
}

table#subchart td:first-of-type div.basic h1 span {
	color: rgba(64,126,201,0.9)
}

table#subchart td:first-of-type div.pro h1 span {
    color: rgba(54,184,53,0.9);
}

table#subchart td:first-of-type div.ultra h1 span {
	color: rgba(246,179,64,0.9);
}

table#subchart td:first-of-type h5 {
	font-style: italic;
}

table#subchart td:first-of-type h2 {
	padding: 0px;
	margin: 0px 0px 15px 0px;
	font-size: 17px;
	color: #999;
}

table#subchart td:first-of-type > div {
	border: 1px solid #CCC;
    padding: 20px 0px 10px 0px;
    border-radius: 5px;
    cursor: pointer;
}

table#subchart td:first-of-type > div.basic {
	border: 1px solid #dde8f5;
}

table#subchart td:first-of-type > div.pro {
	border: 1px solid #cdedcc;
}

table#subchart td:first-of-type > div:hover {
	background: #f9f9f9;
}

table#subchart td:first-of-type > div.basic:hover {
	background: #fafcff;
}

table#subchart td:first-of-type > div.pro:hover {
	background: #f6fef6;
}

table#subchart td:first-of-type > div.ultra:hover {
	background: var(--textbox-orange-bg);
}

body.dark table#subchart td:first-of-type > div {
	border: 1px solid #4c4c4c;
}

body.dark table#subchart td:first-of-type > div.basic {
	border: 1px solid #263f62;
}

body.dark table#subchart td:first-of-type > div.pro {
	border: 1px solid #305a25;
}

body.dark table#subchart td:first-of-type > div:hover {
	background: #262626;
}

body.dark table#subchart td:first-of-type > div.basic:hover {
	background: #252626;
}

body.dark table#subchart td:first-of-type > div.pro:hover {
	background: #252625;
}

span.discount {
    font-family: var(--font-family-sans);
	display: inline-block;
    padding: 7px 10px;
    background: #ffc908;
    color: #FFF;
    font-size: 12px;
    font-weight: bold;
    margin: 0px 0 0 0;
    border-radius: 5px;
    text-shadow: #dabc13 0px 0px 8px;
    -webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

span.discount.join {
	width: 100%;
    margin: 0px 0px 5px 0px;
    text-align: center;
    font-size: 14px;
    padding: 10px;
}

table#subchart td:first-of-type > div span.planname {
    font-family: var(--font-family-sans);
    padding: 10px 15px;
    background: #999;
    border-radius: 5px;
    font-weight: bold;
    color: #FFF;
    margin-bottom: 0px;
    line-height: 40px;
}

table#subchart td:first-of-type > div.lite span.planname::before {
	content: "LITE";
}

table#subchart td:first-of-type > div.basic span.planname {
	background: #407ec9;
}

table#subchart td:first-of-type > div.basic span.planname::before {
	content: "BASIC";
}

table#subchart td:first-of-type > div.pro span.planname {
	background: #36B835;
}

table#subchart td:first-of-type > div.pro span.planname::before {
	content: "PRO";
}

table#subchart td:first-of-type > div.ultra span.planname {
	background: #f6b340;
}

table#subchart td:first-of-type > div.ultra span.planname::before {
	content: "ULTRA";
}

table#subchart td:nth-of-type(2) h2 {
	margin: 0px;
    padding: 0px 0px 7px 0px;
}

table#subchart td:nth-of-type(2) h1 {
	padding: 0px;
    margin: 0px;
    color: #36B835;
    font-size: 35px;
}

table#subchart td:nth-of-type(2) h1.suspended {
    color: #ce3030;
    margin-bottom: 20px;
}

table#subchart td:nth-of-type(2) h1.requiresaction {
    color: #f6b340;
    margin-bottom: 20px;
    font-size: 30px;
}

table#subchart td:nth-of-type(2) h4 {
	margin: 10px 0px 5px 0px;
}

table.selectsub {
	font-family: var(--font-family-sans);
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	font-size: 11px;
	color: #666;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	margin-bottom: 5px;
}

table.selectsub td.pad {
	width: 5px;
}

table.selectsub td:not(.pad) {
	cursor: pointer;
}

table.selectsub td:not(.pad) div {
	width: 100%;
    min-height: 100px;
    border: 1px solid rgba(153,153,153,0.25);
    border-radius: 5px;
    text-align: center;
    padding: 5px;
}

table.selectsub td.lite.active:not(.pad) div {
    border: 3px solid #999;
}

table.selectsub td.basic:not(.pad) div {
    border: 1px solid rgba(64,126,201,0.25);
}

table.selectsub td.active.basic:not(.pad) div {
    border: 3px solid #407ec9;
}

table.selectsub td.pro:not(.pad) div {
    border: 1px solid rgba(54,184,53,0.25);
}

table.selectsub td.active.pro:not(.pad) div {
    border: 3px solid #36B835;
}

table.selectsub td.lite:not(.pad) div:hover {
	background: #f9f9f9;
}

table.selectsub td.basic:not(.pad) div:hover {
	background: #fafcff;
}

table.selectsub td.pro:not(.pad) div:hover {
	background: #f6fef6;
}

table.selectsub td.ultra:not(.pad) div:hover {
	background: #f6fef6;
}

table.selectsub td div span.planname {
    font-family: var(--font-family-sans);
    padding: 5px 7px;
    background: #999;
    border-radius: 5px;
    font-weight: bold;
    color: #FFF;
    margin-bottom: 0px;
    line-height: 40px;
}

table.selectsub td.basic div span.planname {
    background: #407ec9;
}

table.selectsub td.pro div span.planname {
    background: #36B835;
}

table.selectsub td.ultra div span.planname {
    background: #f6b340;
}

table.selectsub td div h1 {
	padding: 0px;
    margin: 0;
    font-size: 40px;
    color: #999;
    vertical-align: text-top;
    line-height: 35px;
}

table.selectsub td.basic div h1 {
    color: #407ec9;
}

table.selectsub td.pro div h1 {
    color: #36B835;
}

table.selectsub td.ultra div h1 {
    background: #f6b340;
}

table.selectsub td div h1 span {
	font-size: 18px;
    vertical-align: text-top;
    margin: 0px 1px;
    line-height: 37px;
    color: rgba(153,153,153,0.9);
}

table.selectsub td.basic div h1 span {
    color: rgba(64,126,201,0.9);
}

table.selectsub td.pro div h1 span {
    color: rgba(54,184,53,0.9);
}

table.selectsub td.ultra div h1 span {
	color: rgba(246,179,64,0.9);
}

table.selectsub td div h2 {
	padding: 0px !important;
    margin: 0px 0px 15px 0px !important;
    font-size: 13px !important;
    color: #999 !important;
}

table#subtype {
	font-family: var(--font-family-sans);
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	font-size: 14px;
	color: #666;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

body.dark table#subtype {
	color: #CCC;
}

table#subtype tr:first-of-type td {
	padding:30px 0 20px 0px;
}

table#subtype td {
    padding: 15px;
    text-align: center;
	border: 1px solid #e0e0e0;
}

body.dark table#subtype td {
	border: 1px solid #333;
}

table#subtype tr td:first-child {
	text-align: left;
	width: 220px;
}

table#subtype td.no::before {
    content: "-";
}

table#subtype td.blue {
	color: #407ec9;
	font-weight: bold;
}

table#subtype td.blue span, table#subtype td.green span, table#subtype td.grey span, table#subtype td.gold span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #407EC9 url('https://s3-us-west-2.amazonaws.com/crewlist/images/generalicons/desktop/tickwhite.png') no-repeat 50% 50% / 12px;
    display: inline-block;
    margin: -10px 0 -7px 0;
}

table#subtype td.gold span {
	background-color: #f6b340;
}

table#subtype td.gold {
	color: #f6b340;
	font-weight: bold;
}

table#subtype td.green span {
	background-color: #36B835;
}

table#subtype td.green {
	color: #36B835;
	font-weight: bold;
}

table#subtype td.grey span {
	background-color: #999;
}

table#subtype td.grey {
	color: #999;
	font-weight: bold;
}

table#subtype tr td:first-of-type {
	font-weight: bold;
	cursor: pointer;
}

table#subtype tr.noline td {
	border: none;
}

table#subtype tr:not(.noline):hover td {
	background: #f9f9f9;
}

body.dark table#subtype tr:not(.noline):hover td {
	background: rgba(30,30,33,1);
}

table#subtype tr:first-child td span {
    padding: 10px 15px;
    background: #999;
    border-radius: 5px;
    font-weight: bold;
    color: #FFF;
}

table#subtype tr:first-child td:nth-of-type(3) span {
	color: #FFF;
	background: #407ec9;
}

table#subtype tr:first-child td:nth-of-type(4) span {
	color: #FFF;
	background: #36B835;
}

table#subtype tr:first-child td:nth-of-type(5) span {
	color: #FFF;
	background: #f6b340;
}

table#subtype td.price,table#subtype td.blueprice,table#subtype td.greenprice,table#subtype td.goldprice {
	font-weight: bold;
	font-size: 36px;
	vertical-align: text-top;
	line-height: 32px;
	color: #999;
	padding: 10px 0px 0px 0px;
}

table#subtype td.blueprice {
	color: #407ec9;
}

table#subtype td.greenprice {
	color: #36B835;
}

table#subtype td.goldprice {
	color: #f6b340;
}

table#subtype td.price span,table#subtype td.blueprice span,table#subtype td.greenprice span,table#subtype td.goldprice span {
	font-size: 18px;
    vertical-align: text-top;
	line-height: 34px;
	color: rgba(153,153,153,0.9);
}

table#subtype td.blueprice span {
	color: rgba(64,126,201,0.9);
}

table#subtype td.greenprice span {
	color: rgba(54,184,53,0.9);
}

table#subtype td.goldprice span {
	color: rgba(246,179,64,0.9);
}

table#subtype a.button {
	width: calc(100% + 20px);
    font-weight: bold;
    margin-left: -10px;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

table#subtype tr td:first-of-type span {
	color: #e0e0e0;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    display: inline-block;
    width: 14px;
    height: 14px;
    font-weight: normal;
    font-size: 10px;
    text-align: center;
    margin-left: 5px;
}

body.dark table#subtype tr td:first-of-type span {
	color: #666;
    border: 1px solid #666;
}

table#subtype tr td.active:first-of-type span,table#subtype tr td:first-of-type:hover span,body.dark table#subtype tr td.active:first-of-type span,body.dark table#subtype tr td:first-of-type:hover span {
	color: #407ec9;
	border: 1px #407ec9 solid;
}

table#subtype tr td:first-of-type div {
	font-style: italic;
    font-weight: normal;
    color: #999;
    font-size: 13px;
    padding-top: 0px;
    display: none;
}

table#subtype tr td.active:first-of-type div {
    padding-top: 5px;
    display: block;
}