/* Helper */

.mb0 {margin-bottom: 0 !important;}
.pt0 {padding-top: 0 !important;}
.pb0 {padding-bottom: 0 !important;}

.mt1 {margin-top: 40px;}
.mb1 {margin-bottom: 40px !important;}
.pb1 {padding-bottom: 40px !important;}

.mt2 {
  margin-top: 80px;
}.mb2 {
   margin-bottom: 80px;
 }
.mt3 {
  margin-top: 120px;
}
.mb3 {
   margin-bottom: 120px;
 }
.mb4 {
   margin-bottom: 20px;
}
.gen_nowrap {
  white-space: nowrap;
}
.gen_table_note{
  font-size: 12px;
}

/*display*/
.g-mobile_only-2{
  display: none !important;
}
@media (max-width: 1364px){
  .g-mobile_only-2{
    display: block !important;
  }
}

/* text */
.bold {
	font-weight: bold;
}
.g-title_h4 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 7px;
}
.g-text_red {
    color: #fa2e4e;
}
/* tab */
.g-tab {
    display: flex;
    border-bottom: 4px solid #ebeaeb ;
    justify-content: flex-start;
    padding-left: 0px;
    margin-bottom: 64px;
}
.g-tab__item {
    list-style: none;
    padding-right: 50px;
    font-size: 14px;
    white-space: nowrap;
    width: 140px;
}
.g-tab__item.ui-tabs-active {
    font-weight: bold;
}
.g-tab__link {
    color: #2d3138;
    padding-bottom: 12px;
}

/* tab 2 */
.g-tab-2:after {
	content: "";
	display: block;
	clear: both;
}
.g-tab-2:before {
	　　　　content: "";
	display: block;
	clear: both;
}
.g-tab-2 {
	display: block;
	padding-left: 0;
}
.g-tab-2__item {
	list-style: none;
	padding-right: 50px;
	font-size: 14px;
	white-space: nowrap;
	float: left;
	width: 33.3%;
}
@media (min-width: 768px) {
	.g-tab-2__item {
		width: 140px;
	}
}
.g-tab-2__item.ui-tabs-active {
	font-weight: bold;
}
.g-tab-2__link {
	color: #2d3138;
	padding-bottom: 18px;
}

.g-inpage-link {
    list-style: none;
    position: relative;
    margin-bottom: 30px;
}
.g-inpage-link:after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-top:2px solid #2375d9;
    border-right:2px solid #2375d9;
    position: absolute;
    left:10px;
    top:10px;
    transform: rotate(135deg);
}
.g-inpage-link--side:after {
    transform: rotate(45deg);
}
.g-inpage-link a {
    color: #2d3138;
    display: block;
    margin-left: 15px;
}

.g-anc {position: relative}
.g-anc span {
    position: absolute;top:-150px;
}
@media (min-width: 768px) {
    .g-anc span {
        position: absolute;
        top: -200px;

    }
}
/* General Helper */
.g-small {
  font-size: 14px;
}
.g-full {
  width: 100%;
  height: auto;
  display: block;
}
@media (min-width: 768px) {
	.g-pc-full{
		width: 100%;
		height: auto;
		display: block;
	}
}


.g-bg-gray {
  background: #F3F4F5;
  padding: 24px;
  margin-bottom: 24px;
}
.g-border{
	border: 5px solid #eee;
}


/* Page link */
.pagination {
	margin-top:20px;
	justify-content:center;
}
.page-link {
	border:none;
	color:#2375d9;
	cursor:pointer;
}
.page-item.active .page-link {
    background-color: #2375d9;
}
.page-item:first-child .page-link {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.page-item:last-child .page-link {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.g-link-break{
	word-break: break-word;
}
table.rich_table tbody tr.data_row td.g-vam{
	vertical-align: middle;
}

/* leverage table */
table.g-rich_table--leverage th,table.g-rich_table--leverage td{
    text-align: center;
    vertical-align: middle !important;
}
.main_body table.g-rich_table--leverage th.g-rich_table__brand {
    text-align: left;
    font-weight: bold !important;
    padding-left: 45px;
}
@media (min-width: 768px) {
    .main_body table.g-rich_table--leverage th.g-rich_table__brand {
        padding-left: 70px;
    }
}

.main_body table.g-rich_table--leverage th.g-rich_table__brand {
    background-position: left 10px center;
    background-repeat: no-repeat;
    background-size: 25px auto;
}
@media (min-width: 768px) {
    .main_body table.g-rich_table--leverage th.g-rich_table__brand {
        background-position: left 20px center;
        background-size: 35px auto;
    }
}

table.g-rich_table--leverage th.g-rich_table__brand span {
    display: block;
    font-weight: normal;
    font-size: 12px;
}

table.g-rich_table--leverage th.g-rich_table__brand.g-rich_table__brand--btc {background-image: url(../images/ico-BTC.png);}
table.g-rich_table--leverage th.g-rich_table__brand.g-rich_table__brand--eth {background-image: url(../images/ico-ETH.png);}
table.g-rich_table--leverage th.g-rich_table__brand.g-rich_table__brand--xrp {background-image: url(../images/ico-XRP.png);}
table.g-rich_table--leverage th.g-rich_table__brand.g-rich_table__brand--ltc {background-image: url(../images/ico-LTC_alt.png);}
table.g-rich_table--leverage th.g-rich_table__brand.g-rich_table__brand--bch {background-image: url(../images/ico-BCH.png);}
table.g-rich_table--leverage th.g-rich_table__brand.g-rich_table__brand--link {background-image: url(../images/icon_circle_link.svg);}
table.g-rich_table--leverage th.g-rich_table__brand.g-rich_table__brand--dot {background-image: url(../images/icon_circle_dot.svg);}
table.g-rich_table--leverage th.g-rich_table__brand.g-rich_table__brand--doge {background-image: url(../images/icon_circle_doge.svg);}
table.g-rich_table--leverage th.g-rich_table__brand.g-rich_table__brand--sol {background-image: url(../images/icon_circle_sol.svg);}
table.g-rich_table--leverage th.g-rich_table__brand.g-rich_table__brand--avax {background-image: url(../images/icon_circle_avax.svg);}
table.g-rich_table--leverage th.g-rich_table__brand.g-rich_table__brand--pol {background-image: url(../images/icon_circle_pol.svg);}
table.g-rich_table--leverage th.g-rich_table__brand.g-rich_table__brand--shib {background-image: url(../images/icon_circle_shib.svg);}
table.g-rich_table--leverage th.g-rich_table__brand.g-rich_table__brand--dai {background-image: url(../images/icon_circle_dai.svg);}

/* g-pager */

.g-pager{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.g-pager__number{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;

}
.g-pager__number span,
.g-pager__number a{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 33px;
    height: 36px;
    font-size: 14px;
}
.g-pager__number span{
    background: #206ad4;
    color: #FFFFFF;
}
.g-pager__number a{
    color: #206ad4;
}
.g-pager__arrow{
    font-size: 12px;
}
.g-pager__arrow--prev{
    margin-right: 8px;
}
.g-pager__arrow--next{
    margin-left: 8px;
}

/* g-button */
.g-button{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 250px;
    min-height: 62px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.5;
    font-weight: bold;
    background: #1a63d9;
    color: #FFFFFF;
}
.g-button:hover{
    color: #FFFFFF;
    opacity: .8;
}
.g-button--red{
    background: #fa2f4e;
}

.g-head-side-link {
	display: block;
	padding: 10px;
	border: 1px solid #2d3138;
	color: #2d3138;
	text-align: center;
	margin-top: 25px;
}

.g-button-1{
    width: calc(20% - 7px);
    min-height: 37px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 3px solid #154EB0;
    padding: 0;
    color: #154EB0;
    font-size: 15px;
    line-height: 1.5;
    font-weight: bold;
    letter-spacing: .06em;
}
@media (min-width: 690px){
    .g-button-1{
        font-size: 24px;
        width: calc(20% - 30px);
        min-height: 42px;
    }
    .g-button-1:hover {
        background: #154EB0;
        color: #FFFFFF;
    }
}
.g-button-1.is-active {
    background: #154EB0;
    color: #FFFFFF;
}

.rich_table--add-line .data_row {
	border-bottom:2px solid #fff;
}
