﻿/* ===========================================
	TBS v9 MyPage CSS
=========================================== */

.overview, .favo-isloggedin {
	display:none;
}
body[data-login="tbsid-login"] .favo-isloggedin,
body[data-login="tbsid-logout"] .overview {
	display:block;
}
main button,
div.dialog-outer button {
	display: inline;
	font: inherit;
	background: none;
	border: none;
	color: blue;
	text-decoration: underline;
	cursor: pointer;
}

/*	.unit
============================== */

.col-orange {
	background-color:#ffaa1e;
}
.col-pink {
	background-color:#ff5064;
}
.col-blue {
	background-color:#0080ff;
}
.col-green {
	background-color:#32c83c;
}
.col-light {
	background-color:#EBEBF5;
}
.col-dark {
	background-color:#33363B;
}
main > div.unit > article {
	color:#fafafa;
	text-align:left;
}
main > div.unit > article > header {
	display:flex;
	align-items:center;
	justify-content:space-between;
}
main > div.unit > article > header h2 {
	letter-spacing:0.1em;
}
main > div.unit.sports-portal > article > header h2 {
	letter-spacing:0;
}
@media all and (min-width: 1200px) {
main > .unit > article {
	max-width:1200px;
	margin:0 auto;
}
}
@media all and (min-width: 992px) {
main > div.unit {
	padding-bottom:176px;
	margin-bottom:-80px;
}
main > div.unit > article > header {
	margin-bottom:32px;
}
main > div.unit > article > header h2 {
	font-size:250%;
}
}
@media all and (max-width: 991.98px) {
main > div.unit {
	padding-bottom:112px;
	margin-bottom:-56px;
}
main > div.unit > article {
	padding:0 5.3333333333vw;
}
main > div.unit > article > header {
	margin-bottom:20px;
}
main > div.unit > article > header h2 {
	font-size:5vw;
}
}
@media all and (max-width: 575.98px) {
main > div.unit > article > header h2 {
	font-size:6.4vw;
}
}

/*	.unit (reset)
============================== */
main > div.unit.favorites > article {
	color:#3b3f4a;
}
main > div.unit.favorites > article > header h2 {
	color:#0050ff;
}
@media all and (min-width: 992px) {
div.unit.favorites {
	padding-top:32px;
}
main > div.unit.favorites > article > header h2 {
	font-size:200%;
}
}
@media all and (max-width: 991.98px) {
div.unit.favorites {
	padding-top:16px;
}
main > div.unit.favorites > article > header h2 {
	font-size:4vw;
}
}
@media all and (max-width: 575.98px) {
main > div.unit.favorites > article > header h2 {
	font-size:5.4vw;
}
}


/*	.overview
============================== */
div.overview p.copy {
	text-align:center;
	line-height:1.75;
}
div.overview p.copy b {
	color:#0050ff;
}
@media all and (min-width: 992px) {
div.overview p.copy {
	font-size:125%;
	margin-bottom:48px;
}
}
@media all and (max-width: 991.98px) {
div.overview p.copy {
	font-size:87.5%;
	margin-bottom:24px;
}
}


/*	.pic
============================== */
div.pic figure {
	width:70%;
	margin:0 auto;
}
div.pic figure span, div.pic figure img {
	display:block;
}
div.pic figure > span {
	position:relative;
	height:0;
	background-repeat:no-repeat;
	background-position:center center;
	background-size:cover;
}
div.pic figure > span.lazy-done {
	-webkit-animation: tbsv9FadeIn 800ms;
	animation: tbsv9FadeIn 800ms;
}
div.pic figure img {
	display:block;
}
@media all and (min-width: 992px) {
div.pic:not(:last-child) {
	margin-bottom:48px;
}
div.pic figure > span {
	padding-top: -webkit-calc(1300 / 1600 * 100%);
	padding-top: calc(1300 / 1600 * 100%);
}
div.pic figure > span.lazy-done {
	background-image:url(../img/overview_pc.jpg?1);
}
}
@media all and (max-width: 991.98px) {
div.pic:not(:last-child) {
	margin-bottom:24px;
}
div.pic figure > span {
	padding-top: -webkit-calc(1654 / 1034 * 100%);
	padding-top: calc(1654 / 1034 * 100%);
}
div.pic figure > span.lazy-done {
	background-image:url(../img/overview_smp.jpg?1);
}
}

/*	.overview-tbsid
============================== */
section.overview-tbsid {
	background-color:#fff;
}
section.overview-tbsid > h3 {
	width:100px;
	margin:0 auto;
}
section.overview-tbsid > h3 span {
	display:block;
}
section.overview-tbsid > h3 > span {
	position:relative;
	height:0;
	padding-top: -webkit-calc(65 / 238 * 100%);
	padding-top: calc(65 / 238 * 100%);
	background-image:url(/ro/img/logo/tbsid.svg);
	background-repeat:no-repeat;
	background-position:center center;
	background-size:contain;
}
section.overview-tbsid > h3 > span span {
	text-indent:110%;white-space:nowrap;overflow:hidden;
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
}
section.overview-tbsid > p {
	line-height:1.5;
}
@media all and (min-width: 992px) {
section.overview-tbsid {
	border-radius:24px;
	padding:20px 30px;
}
section.overview-tbsid > h3 {
	margin-bottom:24px;
}
section.overview-tbsid > p {
	font-size:112.5%;
	text-align:center;
}
}
@media all and (max-width: 991.98px) {
section.overview-tbsid {
	border-radius:12px;
	padding:3.125vw;
}
section.overview-tbsid > h3 {
	margin-bottom:12px;
}
section.overview-tbsid > p {
	font-size:83%;
}
}


/*	.btn-more
============================== */
.btn-more,
.user-settings {
	text-align:center;
}
.user-settings ul {
	display:inline-flex;
}
.user-settings ul li a,
.btn-more button {
	display:inline-flex;
	align-items: center;
	justify-content: center;
	color:#3B3F4A;
	background-color:#fff;
	text-decoration:none;
	box-shadow:4px 4px 10px hsla(0,0%,0%,.1);
}
.user-settings ul li a.edit,
.user-settings ul li a.register {
	color:#fff;
	background-color:#000;
}
.user-settings ul li a {
	padding-left:1.5em;
	padding-right:1.75em;
}
.btn-more button {
	padding-left:2em;
	padding-right:3em;
}
.user-settings ul li a > span,
.btn-more button > span {
	display:inline-block;
	position:relative;
}
.btn-more button > span:before, .user-settings ul li a > span:before,
.btn-more button > span:after, .user-settings ul li a > span:after {
	content:"";
	display:inline-block;
	position:absolute;
}
.btn-more button > span:before,
.btn-more button > span:after {
	background-color:#3B3F4A;
}
.user-settings ul li a > span:before {
	width: 75%;
	height: 75%;
	border: 2px solid #3B3F4A;
	border-left: 0;
	border-bottom: 0;
	transform: rotate(45deg);
	transform-origin: top right;
	top: 50%;
	right: -1px;
	box-sizing: border-box;
}
.user-settings ul li a > span:after {
	line-height: 1;
	width: 100%;
	height: 2px;
	background-color: #3B3F4A;
	top:50%;
	left:0;
	margin-top:-1px;
}
.user-settings ul li a.edit > span:before,
.user-settings ul li a.register > span:before {
	border: 2px solid #fff;
	border-left: 0;
	border-bottom: 0;
}
.user-settings ul li a.edit > span:after,
.user-settings ul li a.register > span:after {
	background-color: #fff;
}
.btn-more button > span:after {
	width:2px;
	height:1em;
	top:0;
	left:50%;
	margin-left:-1px;
}
.btn-more button > span:before {
	width:1em;
	height:2px;
	left:0;
	top:50%;
	margin-top:-1px;
}
@media all and (min-width: 992px) {
.user-settings ul {
	gap:30px;
}
.user-settings ul li a,
.btn-more button {
	font-size:16px;
	height:56px;
	border-radius:28px;
}
.btn-more button {
	letter-spacing:0.2em;
}
.user-settings ul li a > span,
.btn-more button > span {
	width:1em;
	height:1em;
	margin-right:24px;
}
}
@media all and (max-width: 991.98px) {
.user-settings ul {
	flex-wrap:wrap;
	justify-content:center;
	gap:3.125vw;
}
.user-settings ul li a,
.btn-more button {
	font-size:14px;
	height:40px;
	border-radius:20px;
}
.btn-more button {
	letter-spacing:0.1em;
}
.user-settings ul li a > span,
.btn-more button > span {
	width:1em;
	height:1em;
}
.user-settings ul li a > span {
	margin-right:12px;
}
.btn-more button > span {
	margin-right:18px;
}
}

div.favo-isloggedin div.user-settings {
	border-top:1px solid #b4b4b4;
}
@media all and (min-width: 992px) {
div.favo-isloggedin div.user-settings {
	padding-top:48px;
}
div.user-settings:not(:last-child) {
	margin-bottom:48px;
}
}
@media all and (max-width: 991.98px) {
div.favo-isloggedin div.user-settings {
	padding-top:32px;
}
div.user-settings:not(:last-child) {
	margin-bottom:32px;
}
}


/*	.favo-cover
============================== */
p.favo-blank {
	background-color:#fff;
	text-align:center;
	padding:1.5em;
	line-height:1.5;
}
@media all and (min-width: 992px) {
div.favo-cover {
	margin-bottom:96px;
}
div.favo-items {
	margin-bottom:48px;
}
p.favo-blank {
	font-size:112.5%;
}
}
@media all and (max-width: 991.98px) {
div.favo-cover {
	margin-bottom:64px;
}
div.favo-items {
	margin-bottom:32px;
}
p.favo-blank {
	font-size:83%;
}
}
@media all and (max-width: 575.98px) {
}


/*	.favo-items
============================== */
@media all and (min-width: 992px) {
div.favo-items {
	display:flex;
	flex-wrap:wrap;
	gap:30px 20px;
}
div.favo-items > section.favo-unit {
	width:calc((100% - 20px)/2);
}
}


/*	.favo-unit
============================== */
section.favo-unit {
	/**/
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	/**/
	background-color:#fff;
	box-shadow:4px 4px 10px hsla(0,0%,0%,.1);
}
section.favo-unit div.favo-unit-header {
	display:flex;
/*	flex-direction:column-reverse;
	align-items:flex-end; */
	align-items:center;
	justify-content:space-between;
}
section.favo-unit div.favo-unit-header h3 {
	/**/
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	/**/
	border-style:solid;
	border-color:#0050ff;
	text-align:left;
	line-height:1.5;
}
div.favoBtn {
	text-align:right;
}
div.favoBtn button {
	display:inline-flex;
	align-items:center;
	color:#0050ff;
	text-decoration:none;
	white-space: nowrap;
}
div.favoBtn button:before {
	content:"";
	display:block;
	background-image:url(/ro/img/icons/trash.svg);
	background-repeat:no-repeat;
	background-size:cover;
}
section.favo-unit div.favo-unit-inner {
	display:flex;
	align-items:center;
}
section.favo-unit div.favo-unit-inner:not(:last-child) {
	margin-bottom:10px;
}
section.favo-unit div.favo-unit-inner div.thumb {
	flex:0 0 38%;
	min-width:0;
}
section.favo-unit div.favo-unit-inner div.favo-contents {
	text-align:left;
	flex:1;
}
@media all and (min-width: 992px) {
section.favo-unit {
	border-radius:20px;
	padding:15px 0;
}
section.favo-unit div.favo-unit-header {
	padding:0 10px 15px 20px;
}
section.favo-unit div.favo-unit-header h3 {
	font-size:112.5%;
	border-left-width:20px;
	padding-left:0.5em;
	margin-left:-20px;
}
div.favoBtn button {
	font-size:100%;
}
div.favoBtn button:before {
	width:24px;
	height:24px;
	margin-right:12px;
}
section.favo-unit div.favo-unit-inner {
	gap:20px;
	margin:0 20px;
}
}
@media all and (max-width: 991.98px) {
section.favo-unit {
	border-radius:10px;
	padding:12px 0;
}
section.favo-unit:not(:last-child) {
	margin-bottom:20px;
}
section.favo-unit div.favo-unit-header {
	padding-right:8px;
	padding-left:3.125vw;
	padding-bottom:10px;
}
section.favo-unit div.favo-unit-header h3 {
	font-size:87.5%;
	border-left-width:3.125vw;
	padding-left:0.5em;
	margin-left:-3.125vw;
}
div.favoBtn button {
	font-size:83%;
}
div.favoBtn button:before {
	width:18px;
	height:18px;
	margin-right:10px;
}
section.favo-unit div.favo-unit-inner {
	gap:3.125vw;
	margin:0 3.125vw;
}
}
@media all and (max-width: 499.98px) {
section.favo-unit div.favo-unit-inner {
	align-items:center;
	flex-direction:column;
	gap:12px;
}
}


/*	.thumb
============================== */
.favo-unit div.thumb span,
.favo-unit div.thumb img {
	display:block;
}
.favo-unit div.thumb span {
	position:relative;
	height:0;
	padding-top: -webkit-calc(9 / 16 * 100%);
	padding-top: calc(9 / 16 * 100%);
	background-repeat:no-repeat;
	background-position:center center;
	background-size:contain;
	background-color:#fff;
	box-shadow:0 0 4px hsla(0,0%,0%,.2);
}
.favo-unit div.thumb img {
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
}
@media all and (max-width: 499.98px) {
.favo-unit div.thumb {
	width:50%;
}
}



.favo-unit {
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.4s ease, transform 0.4s ease;
}
.favo-unit.is-new {
	opacity: 0;
	transform: translateY(20px);
}
.favo-unit.is-visible {
	opacity: 1;
	transform: translateY(0);
}
.favo-unit.is-removing {
	opacity: 0;
	pointer-events: none;
	cursor: default;
}


/*	.dialog
============================== */
div.dialog-outer {
	display:none;
	max-width:800px;
	width:87.5vw;
	margin:0 auto;
}
body.tbs-dialog-overlay-on div.dialog-outer {
	display:block;
}
div.dialog-inner {
	text-align:center;
	background-color:#fff;
}
div.dialog-inner h2 {
	line-height:1.25;
	border-bottom:2px solid #0050ff;
	padding-bottom:.5em;
}
div.dialog-inner p {
	line-height:1.5;
	padding:3em 0;
}
div.dialog-close {
	text-align:right;
	padding-bottom:6px;
}
div.dialog-close button {
	display: inline-block;
	position: relative;
}
div.dialog-close button::before,
div.dialog-close button::after {
	content: "";
	background-color:#fff;
	position: absolute;
	left:0;
	width:100%;
	top: 50%;
	left: 50%;
}
div.dialog-close button::before {
	transform: translate(-50%,-50%) rotate(-45deg);
}
div.dialog-close button::after {
	transform: translate(-50%,-50%) rotate(45deg);
}
@media all and (min-width: 992px) {
div.dialog-inner {
	padding:40px 0;
	border-radius:20px;
}
div.dialog-inner h2 {
	font-size:175%;
}
div.dialog-inner p {
	font-size:125%;
}
div.dialog-close {
	padding-right:20px;
}
div.dialog-close button {
	width:48px;
	height:48px;
}
div.dialog-close button::before,
div.dialog-close button::after {
	height:3px;
}
}
@media all and (max-width: 991.98px) {
div.dialog-inner {
	padding:20px 0;
	border-radius:10px;
}
div.dialog-inner h2 {
	font-size:125%;
}
div.dialog-inner p {
	font-size:112.5%;
}
div.dialog-close {
	padding-right:10px;
}
div.dialog-close button {
	width:32px;
	height:32px;
}
div.dialog-close button::before,
div.dialog-close button::after {
	height:2px;
}
}


/*	.btns
============================== */
ul.btns {
	display:flex;
	flex-wrap:wrap;
	justify-content:flex-start;
}
div.dialog-outer ul.btns {
	justify-content:center;
}
div.favo-contents ul.btns li:first-child {
	width:100%;
}
ul.btns li {
	display:flex;
}
ul.btns li a {
	display:inline-flex;
	justify-content:center;
}
ul.btns li a, ul.btns li button {
	display:inline-flex;
	align-items:center;
/*	justify-content:center; */
	font-weight:700;
	padding:0 1em;
	text-align:center;
	color:#fff;
	background-color:#000;
	text-decoration:none;
	height:32px;
	border-radius:16px;
	box-shadow:4px 4px 10px hsla(0,0%,0%,.1);
}
ul.btns li button {
	padding:0 2em;
}
ul.btns li a.official {
	background-color:#32c83c;
}
ul.btns li a.tbsfree {
	background-color:#0050ff;
}
ul.btns li button.dialog-yes {
	background-color:#ff5064;
}
ul.btns li a > span:first-child,
ul.btns li button > span:first-child {
	display:inline-block;
	position:relative;
}
ul.btns li a > span:first-child:before,
ul.btns li button > span:first-child:before {
	content: '';
	width: 75%;
	height: 75%;
	border: 2px solid #fff;
	border-left: 0;
	border-bottom: 0;
	transform: rotate(45deg);
	transform-origin: top right;
	position: absolute;
	top: 50%;
	right: -1px;
	box-sizing: border-box;
}
ul.btns li a > span:first-child:after,
ul.btns li button > span:first-child:after {
	content: '';
	display: inline-block;
	line-height: 1;
	width: 100%;
	height: 2px;
	background-color: #fff;
	position:absolute;
	top:50%;
	left:0;
	margin-top:-1px;
}
ul.btns li a > span:last-child {
	display:block;
	width:5.5em;
	text-align:center;
}
@media all and (min-width: 992px) {
ul.btns {
	gap:10px;
}
div.dialog-outer ul.btns {
	gap:30px;
}
ul.btns li:first-child:not(:only-child) {
/*	margin-bottom:10px; */
}
ul.btns li a, ul.btns li button {
	font-size:87.5%;
}
ul.btns li a > span:first-child,
ul.btns li button > span:first-child {
	width:12px;
	height:12px;
}
ul.btns li button > span:first-child {
	margin-right:16px;
}
}
@media all and (max-width: 991.98px) {
ul.btns {
	gap:10px;
}
ul.btns li:first-child:not(:only-child) {
/*	margin-bottom:5px; */
}
ul.btns li a, ul.btns li button {
	font-size:83%;
}
ul.btns li a > span:first-child,
ul.btns li button > span:first-child {
	width:10px;
	height:10px;
}
ul.btns li button > span:first-child {
	margin-right:12px;
}
}
@media all and (max-width: 499.98px) {
ul.btns {
	justify-content:center;
}
div.favo-contents ul.btns li:first-child > a {
	margin:0 auto;
}
}