@font-face {
    font-family: 'SofaChrome'; 
    src: url(/images2/sofachrome.ttf); 
}

@font-face {
    font-family: 'Indiana'; 
    src: url(/images2/indiana.ttf); 
}

@font-face {
    font-family: 'RoadKill'; 
    src: url(/images2/roadkill.otf); 
}

@font-face {
    font-family: 'Font1'; 
    src: url(/images2/1.ttf); 
}
@font-face {
    font-family: 'Font2'; 
    src: url(/images2/2.ttf); 
}
@font-face {
    font-family: 'Font3'; 
    src: url(/images2/3.ttf); 
}
@font-face {
    font-family: 'Font4'; 
    src: url(/images2/4.ttf); 
}
@font-face {
    font-family: 'Font5'; 
    src: url(/images2/5.ttf); 
}
@font-face {
    font-family: 'Font6'; 
    src: url(/images2/6.ttf); 
}
@font-face {
    font-family: 'Font7'; 
    src: url(/images2/7.ttf); 
}
@font-face {
    font-family: 'Font8'; 
    src: url(/images2/8.ttf); 
}
@font-face {
    font-family: 'Font9'; 
    src: url(/images2/9.ttf); 
}
@font-face {
    font-family: 'Font10'; 
    src: url(/images2/10.ttf); 
}
@font-face {
    font-family: 'Font11'; 
    src: url(/images2/11.ttf); 
}
@font-face {
    font-family: 'Font12'; 
    src: url(/images2/12.ttf); 
}
@font-face {
    font-family: 'Font13'; 
    src: url(/images2/13.ttf); 
}
@font-face {
    font-family: 'Font14'; 
    src: url(/images2/14.ttf); 
}
@font-face {
    font-family: 'Font15'; 
    src: url(/images2/15.ttf); 
}
@font-face {
    font-family: 'Font16'; 
    src: url(/images2/16.ttf); 
}
@font-face {
    font-family: 'Font17'; 
    src: url(/images2/17.ttf); 
}
@font-face {
    font-family: 'Font18'; 
    src: url(/images2/18.ttf); 
}
@font-face {
    font-family: 'Font19'; 
    src: url(/images2/19.ttf); 
}


.label {
    /*color: #fff;*/
    /*font-weight: bold;*/
    overflow: hidden;
    width: 100%;
}

#right-block h3{
    margin-top: 0px;    
    
    color: #222;
    font-size: 90%;
    text-align: center;
    margin-bottom: 10px;
    
}

#left-nav h3{
    margin-top: 0px;    
    
    color: #222;
    font-size: 90%;
    text-align: center;
    margin-bottom: 10px;
    
}

img {
    border: 0px 0px 0px 0px;
}
#right-block table{
    width: 100%;    
    margin-bottom: 20px;    
    border-collapse:collapse
}
#left-nav table{
    width: 100%;    
    margin-bottom: 20px;    
    border-collapse:collapse
}
.more {
    width: 30px;
}
/*td{*/
/*border-bottom: 1px solid #bbb;*/
/*border-top: 1px solid #bbb;*/
/*}*/
a {
    text-decoration: none;
}

#right-block a{
    color: #2d36a8;
    margin-right: 5px;
    text-decoration: none;
}

.news a{
    color: #004;
    text-decoration: dotted;
    
}

.news a_bold{
    color: #004;
    text-decoration: dotted;
    font-weight: bold;      
    
}

#post{
    
    
}

.ftitle {
    font-weight:bold;
    color: #005;
}

.player_link {
    text-decoration: none;
    color: #0065a7;
}

.user_link {
    
    text-decoration: none;
    color: #1485c7;
}

#stats {
    margin-left:5px;
}

.tour_number {
    color: #1485c7;
    text-decoration: dotted;
    font-weight: bold;      
}

#post h4{    
    margin-bottom: 3px;   
}
.date{
    display: block;
    font-size: 70%;
    color: #777;
    margin-right: 5px;
}
#right-block tr:hover{
    color: #2d36a8;
    background: #ddd;
    text-decoration: none;
}
.small-post{
    float:left;    
    border-bottom: 1px solid #ddd;
    padding-left: 20px;   
    padding-right: 20px;   
    width: 700px;
}
.news img{
    float: left;
    margin-right: 10px;
    /*border: 1px solid #ccc;*/
    
}
.games {
    width: 15px;
}

body {
    margin: 0px 0px 0px 0px;
    font-family: Arial;    

     background: url(/images/941.jpg) repeat-y fixed;  

    -moz-background-size: 100%;
    -webkit-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

}

#left-matches p {
    margin-top: 0px;
    margin-bottom: 2px;
}

#right-matches p {
    margin-top: 0px;
    margin-bottom: 2px;
    margin-left:50px;
}
.match-links{
    color: #2d36a8;
    
    text-decoration: none;
}
.match-links:hover{
    color: #2d36a8;
    background: #ddd;
    text-decoration: none;
}
#matches{
    border: 1px solid #000;
    width: 99%;
    /*height:70px;*/
    
    font-size: 90%;    
    overflow: auto;
    
    background: linear-gradient(0.6turn, #eef, #fff, #eef);
    border-image-source: linear-gradient(to right, #dde, #eef);
    border-width: 1px;
    border-image-slice:1
}
#margin{
border-left: 1px solid #bbb;
    border-right: 1px solid #bbb;
    background: #fff; 

    width: 991px; 
    height: 15px;
    margin:0 auto;
}
#title{
   
    width: 991px;
    /*height: 130px;*/
    margin: 0 auto;
    
    
    padding-top: 0px;
    
    background: #333;
    color: #fff;
    margin-bottom: 0px;
    
    margin-top: 0px;    
 
   
    margin-bottom: 0px;
    padding-left: 0px;
    color: #fff;
    font-size: 150%;
  
    text-align: left;
    font-family: arial;
        font-weight: bold;
   
    //#d1dcdc;
    
}
#title p{
    padding-left: 0px;
    margin-left: 0px;
    margin-bottom: 0px;
    margin-top: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
        
}

#header{
    border-left: 1px solid #bbb;
    border-right: 1px solid #bbb;
    margin:0 auto;

    width: 991px;
    /*padding-top: 10px;*/
    padding-left: 0px;
    background: #fff;
     
    
}
#content{    
    margin:0 auto;

    width: 991px; 
    border-top: 0px;
    padding-top:0px;   
    background: #fff;    
    border-left: 0px solid #bbb;
    border-right: 0px solid #bbb;
    float: center;    
    overflow: hidden;
    
    
}

#footer{    
    margin:0 auto;
    width: 991px; 
    background: #333;
    color: #fff;    
    //height: 500px;
    border-top: 1px solid #aaa;
    font-size: 90%;
    text-align: left;
    //padding-left: 20px;
    //background: #eee;    
    float: center;    
    overflow: hidden;
    
    
}

#vote{    
    margin:0 auto;
    width: 991px; 
    background: #eee;
    color: #000;    
    //height: 500px;
    border-top: 1px solid #aaa;
    font-size: 90%;
    text-align: left;
    //padding-left: 20px;
    //background: #eee;    
    float: center;    
    overflow: hidden;
    
    
}


#content #left-block{
    margin-left: 15px;
    padding-right: 10px;
    width: 735px;    
    float: left;
    
   // background: #eee;    
    padding-bottom: 20000px;
    margin-bottom: -20000px;
    
    
    
}

#content #left-block-fantasy{
    margin-left: 15px;
    padding-right: 10px;
    /*width: 735px;    */
    float: left;
      
    /*padding-bottom: 20000px;*/
    /*margin-bottom: -20000px;*/
    
    
}


#content #left-nav {
    float: left;
    width: 190px;
    padding-left: 20px;
    padding-right: 20px;
}

#content #right-block{
    //margin-left: 760px;  
    width: 190px;
    float: left;
    padding-left: 20px;
    padding-right: 20px;
   // background: #eee;
    padding-bottom: 10px;    
    padding-bottom: 20000px;
    margin-bottom: -20000px;
    border-left: 1px solid #eee;

    
}

#left-matches{

    padding-left: 20px;
    float: left;
}

#logo-link img{
    
    vertical-align: middle;
    /*padding-right: 90px;*/
    /*margin-left: 25px;*/
    padding-left: 0px;
    margin-left: 0px;
    margin-bottom: 0px;
}
#right-matches{

    margin-left: 320px;
    padding-right: 20px;
}
#header #likes{    
    text-align: center;
}
#header #logo{
    margin-left: 0px;
    margin-right: 0px;
    
    margin-bottom: 10px;
    border-top: 1px solid #555;
}

#header #links{
    float: left;
    padding-left: 0px;        
}

#header #links2{
    float: left;
    padding-left: 0px;        
    background: #fff;
    /*width: 991px;*/
}

.header-link:hover{
    color: #000;
}

#outer-links{
    text-align: center;
    
}
.header-link{    
    color: #2d36a8;
    border: 0px solid #000;
    font-weight: bold;
    padding-right: 10px;
    margin-left: 0px;    
    margin-right: 0px;
    padding-left: 10px;    
}
#footer-links {
    padding-top: 10px;
}
#footer p{
    margin-top: 10px;
    text-align: center;
}
#vote p{
    margin-top: 10px;
    text-align: center;
}
.better {
    color:#050;
    font-weight:bold;
}
.better-light {
    color:#fff;
    font-size: 150%;
    font-weight:bold;
}
.worse {
    color:#f00;
    font-weight:bold;
}
.worse-light {
    color:#f00;
    font-size: 150%;
    font-weight:bold;
}
#block-top a, #footer a, #block-second a{
    color: #fff;    
    font-size: 90%;    
    
    text-decoration: none;    
}
#footer .left-link{
    padding-left: 20px;
}
.left-link{
    border-right: 2px solid #fff;
    padding-right: 7px;
    vertical-align: middle;
}
#block-top #block-top-left{
    float:left;
    margin-left: 0px;    
    padding-left: 20px;
    /*background: url('../images2/logo.png');*/
}
#block-second #block-second-left{
    /*float:left;*/
    margin-left: 0px;    
    padding-left: 180px;
    /*background: url('../images2/logo.png');*/
}
#block-top #block-top-right{
    margin-left:500px;
    text-align: right;
    margin-right: 10px;
}
#block-second #block-second-right{
    margin-left:500px;
    text-align: right;
    margin-right: 10px;
}
.right-link{
    padding-left: 7px;
    vertical-align: middle;
}
.center-link{
    vertical-align: middle;
    border-right: 2px solid #fff;
    padding-right: 7px;
    padding-left: 7px;
}
#footer-links2{
    margin-top: 5px;    
}
#block-top {
    //height: 40px;   
    width: 991px;
    margin: 0 auto;
    
    vertical-align: middle;
    padding-top: 10px;    
    padding-bottom: 10px;    
    
    background: #333;
    color: #fff;
    margin-bottom: 0px;

}
#block-second {

    width: 991px;
    margin: 0 auto;
    
    vertical-align: middle;
    padding-top: 10px;    
    padding-bottom: 10px;    
    
    background: #333;
    color: #fff;
    margin-bottom: 0px;

}
#fantasy-logo {
    width:991px;
    height: 130px;
    background: #e7e7e7;
}
/*#player_id10 {*/
/*    background: #ebf8fb;*/
/*}*/
.player_with_bg {
    background: #ebf8fb;
}
#matches-title {
    margin-left:150px;
    margin-top: 10px;
    margin-bottom: 10px;
    
}

.buy_link {
    color: #005;
    text-decoration: none;
    /*font-weight: bold;*/
}
#player_table {
    width: 100%;
}
#main {
    width: 100%;
}

.skew-menu {
  text-align: center;
}
.skew-menu ul {
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: skew(-25deg);
}
.skew-menu ul li {
  background: #fff;
  float: left;
  border-right: 1px solid #eee;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  color: #555;
  font-weight: bolder;
  transition: all 0.3s linear;
}
.skew-menu ul li:first-child {
  border-radius: 7px 0 0 7px;
}
.skew-menu ul li:last-child {
  border-right: none;
  border-radius: 0 7px 7px 0;
}
.skew-menu ul li:hover {
  background: #eee;
  color: #005;
}
.skew-menu ul li a {
  display: block;
  padding: 1em 2em;
  color: inherit;
  text-decoration: none;
  transform: skew(25deg);
}

.button2 {
    width: 30px; 
    margin-right: 1px; 
    float: left; 
    text-align: center;   
    filter: drop-shadow(0 0 2px #555);  
    background: linear-gradient(#254373, 50%, #5a7fb8); 
    border: 1px solid #000; 
    color: #fff; 
    text-decoration: none; 
    font-weight: bold;
}

.button3 {
    width: 40px; 
    padding-top:3px;
    padding-bottom:3px;
    margin-right: 1px; 
    float: left; 
    text-align: center;   
    filter: drop-shadow(0 0 2px #555);  
    background: linear-gradient(#fff, 50%, #cdcdcd); 
    border: 1px solid #000; 
    color: #004; 
    text-decoration: none; 
    font-weight: bold;
}

.miniature {
    width: 30px; height: 30px; float: left; border: 1px solid #aaa; filter: drop-shadow(2px 2px 2px #88b); border-radius: .5em; text-align: center; vertical-align: middle; overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    /*filter: blur(px);*/
}

.miniature_transfers {
    width: 50px; height: 50px; float: left; border: 1px solid #aaa; filter: drop-shadow(2px 2px 2px #88b); border-radius: .5em; text-align: center; vertical-align: middle; overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    /*filter: blur(px);*/
}


.mini_miniature {
    width: 15px; height: 15px; float: left; border: 1px solid #aaa; filter: drop-shadow(2px 2px 2px #88b); border-radius: .3em; text-align: center; vertical-align: middle; overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    /*filter: blur(px);*/
}

.mid_miniature {
    width: 25px; height: 25px; float: left; border: 1px solid #aaa; filter: drop-shadow(2px 2px 2px #88b); border-radius: .3em; text-align: center; vertical-align: middle; overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    /*filter: blur(px);*/
}

.miniature_big {
    width: 100px; height: 100px; float: left; border: 1px solid #aaa; filter: drop-shadow(2px 2px 2px #88b); border-radius: .5em; text-align: center; vertical-align: middle; overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    /*filter: blur(px);*/
}
.miniature_news {
    width: 170px; height: 120px; float: left; border: 1px solid #aaa; filter: drop-shadow(2px 2px 2px #88b); border-radius: .5em; text-align: center; overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    /*filter: blur(px);*/
}
.team-match-block {
    position: relative;
    width: 100%;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.team-match-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 2;
    text-align: center;
    line-height: 0;
    pointer-events: none;
}

.team-match-badge span {
    display: inline-block;
    font-size: 70%;
    font-style: italic;
    color: #554;
    background: #ffeacc;
    border: 1px solid #e8d4a8;
    border-radius: 0.35em;
    padding: 1px 10px;
    line-height: 1.25;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.team-match-board {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.team-match-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 30px;
}

.team-match-team-col {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.team-match-pts {
    flex: 0 0 auto;
    font-size: 115%;
    font-weight: bold;
    min-width: 1.4em;
    text-align: right;
    line-height: 1;
    text-decoration: none;
}

.team-match-pts:hover {
    text-decoration: underline;
}

.team-match-vs {
    color: #666;
}

.team-name-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    vertical-align: middle;
    max-width: 100%;
}

.team-name-chip .team-logo-wrap {
    float: none !important;
    display: inline-block;
    line-height: 0;
    vertical-align: middle;
    flex-shrink: 0;
    margin-right: 2px;
}

.team-name-chip .team-name-link {
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-name-chip .miniature,
.team-name-chip .mini_miniature,
.team-name-chip .mid_miniature,
.team-match-block .miniature,
.team-match-block .mini_miniature,
.team-match-block .mid_miniature {
    float: none !important;
    vertical-align: middle;
    flex-shrink: 0;
}

.features-table tr.team-match-row > td,
.features-table td.team-match-row {
    padding: 8px 10px;
    vertical-align: middle;
    overflow: visible;
}

/* Stacked scoreboards in stats / records tables — only gap between matches */
.features-table td.team-match-list-cell {
    padding: 6px 10px;
    vertical-align: middle;
    overflow: visible;
}

.features-table td > .team-match-block {
    margin: 4px 0;
}

.draw1 {
    color: #880;
    font-weight: bold;
}
.win1 {
    color: #070;
    font-weight: bold;
    
}
.lose1 {
    color: #b00;
    font-weight: bold;
    
}

#matches::-webkit-scrollbar {
  width: 10px;
}

#matches::-webkit-scrollbar-track {
  -webkit-box-shadow: 5px 5px 5px -5px rgba(34, 60, 80, 0.2) inset;
  background-color: #f9f9fd;
  border-radius: 10px;
}

#matches::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: linear-gradient(135deg, #bbf, #254373);
}

  .custom-select {
    
    height: 50px;
    width: 350px;
    padding: 10px 38px 10px 16px;
    background: linear-gradient(0.6turn, #fff, #f3f3ff);
    color: #004;
    transition: border-color .1s ease-in-out,box-shadow .1s ease-in-out;
    border: 1px solid #00b;
    border-radius: 3px;
}
.custom-select:hover {
    border: 1px solid #999;
}
.custom-select:focus {
    border: 1px solid #999;
    box-shadow: 0 3px 5px 0 rgba(0,0,0,.2);
    outline: none;
}
/* remove default arrow in IE */
select::-ms-expand {
    display:none;
}
