﻿body {
	background: linear-gradient(340deg, #007FFF 0%, #30D5C8 97%, #FEFE33 98%);
}

table {
	background-color: #ffffcc !important;
}
table th, table td {
	border-color: #fdfd01 !important;	
}

#pcHeader table, #mobileHeader table {
	background: transparent !important;	
}

#pcHeader a, #mobileHeader a {
	color: #4c4c0f;
	font-weight: bolder;
}

#pcHeader a:hover {
	text-decoration: none;
	font-style: italic;
	color: #fdfd01;
	background-color: #4c4c0f;
}

.narrow {
    white-space: nowrap;
    width: 1%;
}

#tabB_tricksNsLarge0 table, #tabB_tricksWeLarge0 table, #tabB_tricksNsSmall0 table, #tabB_tricksWeSmall0 table, #tabB_tableHcp0 {
	background: transparent !important;
}

#tabB_tableHcp0 {
	color: #4c4c0f !important
}

.clickable {
	cursor: pointer;
	font-weight: 700 !important;
	color: #4c4c0f !important;
}

.clickable:hover {
	text-decoration: underline;
}

.btn-circle {
  width: 30px;
  height: 30px;
  text-align: center;
  padding: 6px 0;
  font-size: 12px;
  line-height: 1.428571429;
  border-radius: 15px;
  background-color: #007FFF;
}

.smaller {
    font-size: 90%;
}

.greyedOut {
    opacity: 30%;
}

.btn-circle.btn-lg {
  width: 50px;
  height: 50px;
  padding: 10px;
  border-radius: 25px;
  border-color: #fdfd01;
  text-align: center;
  vertical-align: middle;
  background-color: #007FFF;
}

#followButton {
	color: #fdfd01;
	border-color: #fdfd01;
	background-color: #007FFF;
}

#unfollowButton {
	color: #007FFF;
	border-color: #fdfd01;
	background-color: #ffffcc;
}

#fetchButtonInput, #historyButton {
	color: #fdfd01;
	border-color: #fdfd01;
	background-color: #007FFF;
}

#fetchButtonInput:hover, #historyButton:hover, #followButton:hover, #unfollowButton:hover {
	color: #007FFF;
	background-color: #ffffcc;
}

#fetchBoardInput, #historyInput, #followInput {
	border-color: #fdfd01 !important;
	background-color: #ffffcc;
}

#tcWebpage {
	color: #183200;
}

#topNavbar {
	background: linear-gradient(to bottom, #fdfd01 0%, #30D5C8 5%, #30D5C8 95%, #fdfd01 100%);
}
	
.bg-light {
	background: transparent !important;
}

.navbar-light .navbar-brand {
	color: #FEFE33 !important;
}

#navLinkB, #navLinkH, #navLinkR, #navLinkO, #navLinkI {
	color: #fdfd01 !important;
}

#navLinkB:hover, #navLinkH:hover, #navLinkR:hover, #navLinkO:hover, #navLinkI:hover {
	color: #fdfd01 !important;
	background-color: #007FFF;
	text-decoration: none;
}

#myBody div .row .col .btn-sm {
	color: #4c4c0f;
	border-color: #4c4c0f;
}

#myBody div .row .col .btn-sm:hover {
	color: #fdfd01;
	background-color: #4c4c0f;
}


#buttonsRow {
	display: flex;
	width: 100%;
	position: fixed;
	bottom: 0px;
	right: 0px;
	margin: 5px;
}

.btnContainer {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 25%;
	text-align: center;
}

.table-bordered, .table-bordered td, .table-bordered th, .table-bordered tr, .table-bordered thead th {
    border-color: #888888;
}

@media (min-width: 576px) {
#buttonsRow {
        display: block;
        width: 60px;
        height: 100%;
    }

    .btnContainer4 {
        width: 100%;
        height: 25%;
    }

    .btnContainer5 {
        width: 100%;
        height: 20%;
    }

    .btnContainer6 {
        width: 100%;
        height: 16.66%;
    }

}

.table-img {
	vertical-align: baseline;
}

.bImage {
	max-width: 6em;
}

#marginCol {
	width: 60px;
}

@media (min-width: 1200px) {
	#tabB {
		max-width: 500px;
	}
}

#footerImg {
	max-width: 8em;
}

.tooltip-inner {
	color: #f1fee5;
	background-color: #183200;
	border: 1px solid #f1fee5;
}

.tooltip.bs-tooltip-auto[x-placement^=bottom] .arrow::before, .tooltip.bs-tooltip-bottom .arrow::before {
    border-bottom-color: #326647;
}

.tooltip {
    pointer-events: none;
}

.might-be-long-cell {
	max-width: 200px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.might-be-long-cell250 {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.might-be-long-cell350 {
    max-width: 350px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.border-3 {
    border-width: 3px !important;
}

#tdMail {
	font-weight: 500 !important;
}

#boardToCopy span {
	display: inline-block;
}

@media print {
	.row {
		display: block;
	}
	
	footer .row {
		display: flex !important;
	}
	
	table tr td, table tr th, table .clickable, #pairH, footer, .boardInfo {
		color: #000000 !important;
	}
	
	.clickable, a.clickable {
		font-weight: 500 !important;
		text-decoration: none;
	}	

    #myBody {
        min-width: auto !important;
    }
	
	#buttonsRow, #boardNavUp, #boardNavDown, #chooseLanguageDiv {
		display: none !important;
	}
	
	#contentB .row {
		display: flex;
	}
	
	#scoresTable {
		display: block !important;
	}
}

@keyframes progress {
    from {
        left: -84%;
    }

    50% {
        left: 0%;
    }

    to {
        left: -84%;
    }
}

.liveResults {
    position: relative;
    display: inline-block;
}

.liveResults span:after {
    content: "";
    background: linear-gradient( to right, rgba(255, 255, 255, 0.0) 0%, rgba(255, 255, 255, 0.0) 84%, rgba(255, 255, 255, 0.5) 92%, rgba(255, 255, 255, 0.0) 100% );
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    animation-duration: 5s;
    animation-name: progress;
    animation-iteration-count: infinite;
}

a.disabled {
     pointer-events: none;
     cursor: default;
}

td.wrongLines {
    background-color: lightpink;
}

.table-nonfluid {
    width: auto !important;
}

.flag {
    height: 1rem;
    vertical-align: sub;
}

/* fallback */
@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/materialicons/v50/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}
    
.table-sticky tbody td:first-child {
    position: -webkit-sticky; /* for Safari */
    position: sticky;
    left: 0;
    background: #FFF;
}

.table-sticky thead th:first-child {
    left: 0;
    z-index: 2;
}

.table-sticky thead th:first-child,
.table-sticky tbody td:first-child {
    box-shadow: 1px 0 0 #888, -1px 0 0 #888;
}

.div-for-sticky-table {
    overflow: scroll;
    max-height: 90vh;
}

.header-sticky thead th {
    position: -webkit-sticky; /* for Safari */
    position: sticky;
    top: 0;
    z-index: 1;
    background: #FFF;
}

.header-sticky th::after,
.header-sticky th::before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
}

.header-sticky th::before {
    top: -1px;
    border-top: 1px solid #888;
}

.header-sticky th::after {
    bottom: -1px;
    border-bottom: 1px solid #888;
}

.header-sticky-second-row th {
    top: 1.8rem !important;
}