* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
	font-family: 'Averta', helvetica, arial, sans-serif;
    color: #555;
}

.order_list a {
    color: #337aa8;
}

.order_list a:hover,
.order_list a:focus {
    color: #4b8ab2;
}



.col_1 {
    width: 8%;
}

.col_2 {
    width: 17%;
}

.col_3 {
    width: 25%;
}

.col_4 {
    width: 33%;
}

.col_5 {
    width: 42%;
}

.col_6 {
    width: 50%;
}

.col_7 {
    width: 58%;
}

.col_8 {
    width: 67%;
}

.col_9 {
    width: 75%;
}

.col_10 {
    width: 83%;
}

.col_11 {
    width: 92%;
}

.col_12 {
    width: 100%;
}
.orderContent table.col_12 {
	width: 100%;
}


/* TODO: order table style */

.order_item {
    width: 100%;
}

.order_tb {
    display: table;
    width: 100%;
}

.tb_row {
    display: table-row;
    width: 100%;
}

.tb_col {
    display: table-cell;
    border-right: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
    padding: 10px 5px;
    text-align: center;
    vertical-align: middle;
}

.tb_head {
    background: #646464;
    color: #FFFFFF; 
}

.tb_head>.tb_col {
    text-align: center;
}

.tb_col[data-title]:before {
    content: attr(data-title);
    font-size: 0.9em;
    padding: 2px 5px;
    color: rgba(51, 51, 51, 0.75);
    margin-top: 0;
    background-color: #f3f3f3;
    width: 100%;
    display: block;
}

.tb_col.order_no[data-title]:before {
    color: #FFF;
    margin: 0;
    background-color: inherit;
}

.order_type {
    font-size: 14px;
    letter-spacing: 1px;
}

.go_pay {
    font-size: 1.2em;
    letter-spacing: 1px;
    line-height: 1.5em;
    color: red;
}

.go_pay div a {
    color: red;
}

.go_pay div a:hover {
    text-decoration: underline;
    line-height: 1.2em;
}

.order_tb .tb_row.tb_head.repo_hidden {
    margin: 16px 0 0;
    border: 1px solid red;
}

.ticket_detail {
    display: table;
    font-size: 14px; /*0.9em*/
    border: 1px solid #BFBFBF;
    border-top: 0;
    padding: 15px;
    margin: 0 auto 16px auto;
    *background-color: #ffeaea;
}

.ticket_detail>.col_td {
    padding: 10px;
    border: 0;
}

.ticket_detail p{
   font-size:16px;
}

.repo_bg {
    background-color: #FFF;
}

.contact_info {
    color: #262626;
    text-align: left;
    padding: 0 10px 10px;
}

.tb_sub_head {
    width: 100%;
    background-color: #999;
    color: #fff;
}

.tb_sub_head>.tb_col {
    padding: 8px;
    text-align: center;
    *border-right: 1px solid #FFF;
    border: 1px solid #BFBFBF;
}

.tb_foot>.tb_col {
    padding: 5px;
    background-color: #f3f3f3;
}

.tb_foot>.tb_col:nth-child(1) {
    text-align: right;
    *color: #555;
    padding: 5px 8px;
}
.tb_foot .col_11 {
	font-weight: 700;
}

/* btn */
.btn-primary.order-show:after {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings';
    /* essential for enabling glyphicon */
    *content: "\e114";
    /* adjust as needed, taken from bootstrap.css */
    color: white;
    /* adjust as needed */
    position: relative;
    top: 1px;
    margin-left: 3px;
}

.btn-primary.order-hide:after {
    /* symbol for "collapsed" panels */
    font-family: 'Glyphicons Halflings';
    /* essential for enabling glyphicon */
    *content: "\e113";
    /* adjust as needed, taken from bootstrap.css */
    color: white;
    /* adjust as needed */
    position: relative;
    top: 1px;
    margin-left: 3px;
}

/* Responsive */

@media (max-width: 767px) {
    .order_item {
        border: 2px solid #024DDF; /*BFBFBF*/
        margin: 0 0 16px;
    }
    .col_1,
    .col_2,
    .col_3,
    .col_4,
    .col_5,
    .col_6,
    .col_7,
    .col_8,
    .col_9,
    .col_10,
    .col_11 {
        position: relative;
        width: 100%;
        float: left;
    }
    .repo_hidden {
        display: none;
    }
    .tb_col,
    .tb_foot>.tb_col {
        width: 100%;
        border: none;
        border-bottom: 1px solid transparent;
        *font-size: 14px;
        *line-height: 25px;
        text-align: left;
        padding: 10px 8px;
    }
    .tb_foot>div[class*=" text-"] {
        text-align: center;
        border: 1px solid #BFBFBF;
        border-top: 1px solid #EBEBEB;
    }
    .tb_foot:first-of-type>div[class*=" text-"] {
        border: 1px solid #BFBFBF; 
		display: block;
		width: 100%;
    }
    .order_list>.tb_col.order_no {
        color: #FFF !important;
        background-color: #666;
        padding: 8px 5px;
    }
    .ticket_detail {
        border: none;
        border-top: 1px solid #BFBFBF;
        padding: 7px;
        margin: 0;
        background-color: transparent;
    }
    .repo_bg {
		padding: 5px;
        background-color: #FFF;
        display: inline-block;
        clear: both;
        border: 1px solid #BFBFBF;
        border-bottom: 0;
    }
    .repo_bg .tb_col {
        border: none;
        display: block;
        line-height: 22px;
        padding: 1px 8px;
    }
	.btn {
		margin-left: 0px !important;
		margin-right: 0px !important;
	}
    .btn-danger {
        width: 100%;
        padding: 6px 0;
        margin: 10px 0;
    }
    .tb_foot .text-primary,
    .tb_foot .text-danger {
        text-align: center;
    }
    .col_3 {
		padding-bottom: 0px;
	}
	.hidden-desktop {
		float: left !important;
		padding-right: 5px;
	}
	span.hex_Order_number.hidden-desktop {
		float: clear !important;
		top: 0px !important;
		left: 0px !important;
	}
	.text-nowrap {
		white-space: normal !important; 
	}
}

/* md */

@media (min-width: 768px) {
    .tb_head>.tb_col:last-child,
    .tb_sub_head>.tb_col:last-child {
        *border-right: 0;
    }
    .order_list .tb_col:first-child,
    .ticket_detail .tb_col:first-child {
        border-left: 1px solid #BFBFBF;
    }
    .tb_col[data-title]:before {
        content: none;
    }
}

/* insurance ad */
.insurance {
    cursor: pointer;
}

.show-desktop {
    display: none;
}
.hide-desktop {
    display: inherit;
}

@media (min-width: 1200px) {
    .show-desktop {
        display: inherit;
    }
    .hide-desktop {
        display: none !important;
    }
}

.row.mg-top {
    position: relative;
}

.insurance.show-desktop {
    max-width: 130px;
    position: absolute;
    right: -20px;
    transform: translateX(100%);
}

.insurance.hide-desktop {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 758px;
    z-index: 2;
    display: inline-block;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
}

.insurance.hide-desktop img {
    max-width: 100%;
}

.insurance.show-desktop .closeBtn {
    position: absolute;
    max-width: 40px;
    padding-right: 15px;
    padding-bottom: 15px;
}


.insurance.hide-desktop .closeBtn {
    position: absolute;
    max-width: 40px;
    padding: 10px;
    padding-left: 3px;
    padding-top: 3px;
    left: 0;
    top: 0;
}

@media (max-width: 680px) {
    .insurance.hide-desktop .closeBtn {
        max-width: 6%;
        min-width: 35px;
    }
}


/*----- transfer +201202 -----*/
/* nav */
.orderContent .nav-tabs {
	border-bottom: 1px solid #024DDF;
}
.orderContent .nav-tabs li {
	font-weight: 600;
	border-bottom-color: transparent;
}
.orderContent .nav-tabs li a {
	height: 43px;
	*border-bottom: none;
	border-radius: 4px 4px 0 0;
	border-bottom: 1px solid #024DDF;
	background-color: #ffffff; 
}
.orderContent .nav-tabs > li > a:hover {
	color: #024DDF;
	border-color:#024DDF #024DDF #ffffff #024DDF;
	background-color: #ffffff; 
}
.orderContent .nav-tabs li.active a, .orderContent .nav-tabs > li.active > a:hover {
	padding-bottom: 8px;
	color: #024DDF;
	border-top: 3px solid #024DDF;
	border-color: #024DDF;
	border-bottom-color: transparent;
	background-color:#ffffff; 
}
.orderContent .tab-content {
	padding: 20px;
	border: 1px solid #024DDF;
	border-top: transparent;
}
/* list */
.OrderList .order_list>.tb_col:nth-child(3) {
    text-align: left;
}
.transferList .order_list>.tb_col:nth-child(2) {
    text-align: left;
}
/* step */
.transferStep .ticket_detail {
	border: 0px;
	padding: 0px;
}
.transferStep .tb_sub_head > .tb_col {
	border-top: 1px solid #CCC;
}
.transferStep label.col_checkbox > span {
	display: none;
}
.transferStep .tb_note {
	padding: 0px;
	font-size:16px;
	line-height:1.5;
}

input[type=checkbox].tcChecbox:focus {outline:none;}
.transferStep .transferEvent {margin-bottom:32px;}
.transferStep .transferEvent .transferEventName {
	font-weight: 600;
    margin-bottom: 8px;
    color: #262626;
    font-size: 18px;
    border-bottom: 2px solid rgb(191, 191, 191);
    margin: 16px 0px 16px;
}
.transferStep .transferEvent .transferEventDetails p+p {
    margin: 16px 0px 0px;
}

/* Responsive */
@media only screen and (max-width: 991px) {
	.orderContent .nav-tabs li {
		font-size: 14px;
		font-weight: 600;
	}
	.orderContent .nav-tabs li a {
		padding: 10px;
	}
}
@media only screen and (max-width: 767px) {
	/* nav */
	.orderContent .nav-tabs li {
		width: calc(100%/2);
		text-align: center;
	}
	.orderContent .nav-tabs li a {
		text-align: center;
	}
	.orderContent .nav-tabs li:hover:last-child a {
		margin-right: 0px;
	}
	.orderContent .nav-tabs li.active:last-child a {
		margin-right: 0px;
	}
	/* list */
	.transferList .order_list>.tb_col:nth-child(3) {
		text-align: left;
	}
	.transferList .ticket_detail .order_tb {
		border-bottom: 1px solid #BFBFBF;
	}
	.transferList .receive button {
		width: 100%;
	}
	/* step */
	.transferStep .mgt-24 {
		margin-top: 0px;
	}
	.transferStep .col-xs-12 {
		*padding-left: 0px;
		*padding-right: 0px;
	}
	.transferStep .order_item {
		margin-bottom: 0px;
		border: none;
		*border-bottom: 1px solid #BFBFBF;
	}
	.transferStep label.col_checkbox > span {
		display: inline-block;
		color: #024DDF;
	}
	.transferStep input[type="checkbox"] {
		margin-right: 8px; 
		vertical-align: middle !important;
	}
	.transferStep .tb_note {
		padding: 16px 0px!important;
		border-top: 1px solid #BFBFBF;
	}
	.transferStep button {
		width: 100%;
		margin: 8px 0;
	}
}

.backTicketDetail {
    position: absolute;
    left: 15px;
    top: 60px;
    transform: rotate(90deg);
    cursor: pointer;
}

.backTicketDetail ~ .streamingInfo {
    padding:  15px;
    word-wrap: break-word;
    text-align: left;
}

/** Utilities **/
.w-full {
    width: 100%;
}

.flex-centered{
	display: flex;
	justify-content: center;
	align-items: center;
}
/* Items table (order detail) */
.items-table > tbody > tr > td {
    vertical-align: middle;
}

.items-table .tm-badge,
.ticket-info .tm-badge,
.resale-listing-strip .tm-badge {
    display: inline-block;
    margin-bottom: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
}

.resale-listing-strip .tm-badge {
    margin-bottom: 0;
}

.items-table .tm-badge--resale {
    background: #D0006F;
}

.items-table .tm-badge--sold,
.items-table .tm-badge--refunded,
.items-table .tm-badge--transferred,
.items-table .tm-badge--transfer-pending,
.ticket-info .tm-badge--refunded,
.resale-listing-strip .tm-badge--refunded,
.resale-listing-strip .tm-badge--transferred,
.resale-listing-strip .tm-badge--transfer-pending {
    background: #646464;
}

.order-reminder {
    color: #121212;
    font-weight: 600;
}

.items-table__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #646464;
}

.items-table__meta svg {
    flex: none;
}

.items-table > tbody > tr.resale-listing-strip > td,
.table > tbody > tr.resale-listing-strip > td {
    background: #F6F6F6;
}

.resale-listing-strip__inner,
.resale-listing-strip__info,
.resale-listing-strip__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}

.resale-listing-strip__inner {
    justify-content: space-between;
}

.resale-listing-strip__id {
    font-size: 14px;
    color: #646464;
}

.resale-listing-strip__id strong {
    color: #121212;
    white-space: nowrap;
}

.resale-listing-strip .btn {
    margin: 0;
}

@media (max-width: 767px) {
    .resale-listing-strip__inner .resale-payment-note {
        margin-inline-start: auto;
        text-align: right;
    }
}
