/* ******************************* */
/* ORIGINAL FANTOPY STYLE ELEMENTS */
/* ******************************* */

.m--bg-success{background-color:#3dad46!important; height: 20px; width: 20px;}

/*! Dashboard - Current week winner */
ul.goalkeeper .position{background:#2d8134;background:linear-gradient(#3dad46,#2d8134);}
ul .position{color:#FFF;font-size:8.5px;font-size:.53125rem;width:45%;text-align:center;float:left;padding:0;height:22px;line-height:22px;border-radius:2px 0 0 2px;}
ul .points{background:#2d8134;background:linear-gradient(#fff,#cacaca);color:#5d5d5d;font-size:8.5px;font-size:.53125rem;width:55%;text-align:center;float:left;padding:0;height:22px;line-height:22px;border-radius:0 2px 2px 0;}
.captain_bg{background:url(../images/captian.png) right top/cover no-repeat;display:inline-block;height:30px;position:absolute;right:0;top:0;width:30px;z-index:123;}
a{cursor:pointer;}
.field-section .field-wrapper{margin:0 auto;background-repeat:no-repeat;background-position:top center;clear:both;height:600px;background-size:100% 100%;}
@media (min-width:1025px){
.field-section .field-wrapper{max-width:430px;height:500px;background-repeat:no-repeat;background-position:top center;background-size:100% 100%;}
}
@media (min-width:1620px){
.field-section .field-wrapper{max-width:450px;height:700px;background-repeat:no-repeat;background-position:top center;background-size:100% 100%;}
}
.field-section .field-wrapper ul{position:relative;width:100%;text-align:center;float:left;}
.field-section .field-wrapper ul li{display:inline-block;}
.field-section .field-wrapper .player{width:64px;}
@media (min-width:1620px){
.field-section .field-wrapper .player{width:75px;}
}
.field-section .field-wrapper .player img{height:60px;width:auto;max-width:100%;}
/*.field-section .field-wrapper .player .player-name{background:#0e0e0e;background:linear-gradient(#40403E,#0e0e0e);padding:0 3px;height:22px;line-height:22px;color:#FFF;text-overflow:ellipsis;overflow:hidden;display:block;white-space:pre;font-size:8.5px;font-size:.53125rem;text-transform:uppercase;border-radius:2px;margin-top:-2px;letter-spacing:.5px;font-size-adjust:none;}*/
.field-section .field-wrapper .player .position{color:#FFF;font-size:8.5px;font-size:.53125rem;width:40%;text-align:center;float:left;padding:0;height:22px;line-height:22px;border-radius:2px 0 0 2px;}
/*.field-section .field-wrapper .player .points{background:#2d8134;background:linear-gradient(#fff,#cacaca);color:#5d5d5d;font-size:8.5px;font-size:.53125rem;width:60%;text-align:center;float:left;padding:0;height:22px;line-height:22px;border-radius:0 2px 2px 0;}*/
ul.defenders .position{background:#fbb33d;background:linear-gradient(#fbb33d,#b7832c);}
ul.midfielders .position{background:#fbb33d;background:linear-gradient(#eb2830,#a51c21);}
ul.forwards .position{background:#fbb33d;background:linear-gradient(#ef632d,#af4821);}
ul.goalkeeper .position{background:#2d8134;background:linear-gradient(#3dad46,#2d8134);}
.custom-field-formation,.field-wrapper.custom-field-formation{position:relative;background:0 0!important;clear:both;margin:0 auto;width:100%;overflow:hidden;}
.custom-field-formation .field-img,.field-wrapper.custom-field-formation .field-img{position:absolute;top:0;left:0;width:100%;height:100%;max-width:100%;}
.custom-field-formation ul,.field-wrapper.custom-field-formation ul{height:18%;margin-bottom:10px;padding-top:0;position:relative;width:100%;text-align:center;float:left;}
.custom-field-formation ul li,.field-wrapper.custom-field-formation ul li{display:inline-block;margin-left:0;position:relative;}
.custom-field-formation ul li:first-of-type,.field-wrapper.custom-field-formation ul li:first-of-type{margin-left:0;}
.custom-field-formation ul li:last-of-type,.field-wrapper.custom-field-formation ul li:last-of-type{margin-right:0;}
.custom-field-formation ul.goalkeeper,.field-wrapper.custom-field-formation ul.goalkeeper{margin-top:15px;}
.custom-field-formation ul.max_li_4 li,.field-wrapper.custom-field-formation ul.max_li_4 li{width:17%;margin-right:3px;}
.custom-field-formation ul.max_li_4 li:last-child,.field-wrapper.custom-field-formation ul.max_li_4 li:last-child{margin-right:0;}
.custom-field-formation ul.max_li_4 li img,.field-wrapper.custom-field-formation ul.max_li_4 li img{width:70%;height:auto;vertical-align:bottom;}
.custom-field-formation ul.max_li_4 li .player-name,.field-wrapper.custom-field-formation ul.max_li_4 li .player-name{margin-top:0;height:18px;line-height:18px;}
.custom-field-formation ul.max_li_4 li .points,.custom-field-formation ul.max_li_4 li .position,.field-wrapper.custom-field-formation ul.max_li_4 li .points,.field-wrapper.custom-field-formation ul.max_li_4 li .position{height:18px;line-height:18px;}
@media (min-width:1025px){
.custom-field-formation ul,.field-wrapper.custom-field-formation ul{height:18%;margin-bottom:15px;}
.custom-field-formation ul.goalkeeper,.field-wrapper.custom-field-formation ul.goalkeeper{margin-top:15px;}
.custom-field-formation ul.max_li_4 li,.field-wrapper.custom-field-formation ul.max_li_4 li{width:17%;}
.custom-field-formation ul.max_li_4 li img,.field-wrapper.custom-field-formation ul.max_li_4 li img{width:70%;}
}
@media (min-width:1620px){
.custom-field-formation ul,.field-wrapper.custom-field-formation ul{height:20%;}
.custom-field-formation ul.goalkeeper,.field-wrapper.custom-field-formation ul.goalkeeper{margin-top:25px;}
.custom-field-formation ul.max_li_4 li .player-name,.field-wrapper.custom-field-formation ul.max_li_4 li .player-name{margin-top:0;height:22px;line-height:22px;}
.custom-field-formation ul.max_li_4 li .points,.custom-field-formation ul.max_li_4 li .position,.field-wrapper.custom-field-formation ul.max_li_4 li .points,.field-wrapper.custom-field-formation ul.max_li_4 li .position{height:22px;line-height:22px;}
}
.field-section .custom-field-formation{height:auto;max-width:100%;}
@media (min-width:1025px){
.field-section .custom-field-formation ul{margin-bottom:25px;}
}
.player-name{font-size:.7rem;font-weight:bold;}


/* DASHBOARD - 2ND - 5TH PLACE */
.topplayers .m-list-timeline__item{margin-bottom: 10px;}
.topplayers .player_teamname, .topplayers .player_points{color:#000;}
.weekuserul li{min-height:75px;}
.pl_rk_pos{float:left;position:absolute;background-color:#000;color:#fff;padding:2px 6px;border-radius:10px;font-size:12px;margin-top:-5px;margin-left:-5px;}


/* DASHBOARD - HOTLIST */
#hot_list ul{list-style: none;width:45%!important;margin-top:0px!important;min-height:70px;line-height:12px;display:inline-block;padding:0;}
#hot_list h3.ui-accordion-header{display:inline-block;width:100%;}
#hot_list .player-tshirt{vertical-align:top!important;}
#hot_list ul .player-tshirt{width:20%;display:inline-block;vertical-align:top;text-align:center;}
#hot_list ul .player-info{width:70%;display:inline-block;padding-left:15px;color:#58595b;vertical-align:middle;text-align:left;}
#hot_list .player-tshirt{width:24%!important;}
#hot_list ul .player-tshirt img{width:100%!important;}
.green-box-content.toptransfers-data-content{height:auto!important;padding:20px 30px;}
#hot_list .ui-accordion-header{background:#0F8223!important;}
.clearfix{clear:both;}
#hot_list .ui-accordion-header{clear:both;background:#4fba4c;color:#FFF;font-size:12px;font-size:.75rem;text-transform:uppercase;padding:10px 30px;border-radius:0;border:none;border-top:1px solid #000;cursor:pointer;outline:0;}
#hot_list .ui-state-active.ui-state-default .ui-icon{transform:rotate(90deg);-webkit-transform:rotate(90deg);-o-transform:rotate(90deg);-ms-transform:rotate(90deg);}
#hot_list .ui-state-default .ui-icon{background:url(../images/fantopy_group_image.png) 0 -663px no-repeat;float:right;margin-top:0;transform:rotate(-90deg);-webkit-transform:rotate(-90deg);-o-transform:rotate(-90deg);-ms-transform:rotate(-90deg);}
#hot_list .block{height:auto!important;float:left;padding:20px 10px;}
@media (min-width:1620px){
#hot_list .block{padding:20px 30px;}
}
#hot_list:first-of-type{margin-top:0;}
#hot_list .player-tshirt{width:20%;display:inline-block;vertical-align:middle;text-align:center;}
#hot_list .player-tshirt img{width:80%;}
#hot_list .player-info{width:70%;display:inline-block;padding-left:15px;color:#58595b;vertical-align:middle;text-align:left;}
#hot_list .player-info .player-name{line-height:20px;font-size:14px;font-size:.875rem;}
#hot_list .green-box-content{background:#FFF;width:100%;float:left;}
.green-box-content{background:#FFF;width:100%;min-height:40px;color:#5d5d5d;overflow:hidden;}
a{cursor:pointer;}
@media (min-width:768px) and (max-width:1024px){
#hot_list .player-tshirt img{height:70px;object-fit:contain;}
}
.player-name{font-size:.7rem;font-weight:bold;}
#hot_list .green-box-content{border-radius:0 0 4px 4px!important;}
#hot_list .player-info .player-name a,#hot_list .player-info .team_name a{text-decoration:none;}
#hot_list .ui-state-active.ui-state-default .ui-icon{-webkit-transform:rotate(0deg);transform:rotate(0deg);}
#hot_list .ui-state-active.ui-state-default.rotate .ui-icon,.rotate .ui-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg);}
#hot_list .player-info .player-name a,#hot_list .player-info .team_name a{text-decoration:none;}
#hot_list .ui-state-active.ui-state-default .ui-icon{-webkit-transform:rotate(0deg);transform:rotate(0deg);}
#hot_list .ui-state-active.ui-state-default.rotate .ui-icon,.rotate .ui-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg);}
#hot_list li.player-info p.team_name a{font-weight:normal;color:#5d5d5d;}
#hot_list .block{float:none!important;}
.accord> .expand.abate.rotate span{-webkit-transform:rotate(-90deg);transform:rotate(-90deg);}


/* DASHBOARD - MATCH WEEK */
.match-date-time {
    padding-left: 10px;
    padding-right: 10px;
    border-left: 1px dashed rgb(93, 93, 93);
    border-right: 1px dashed rgb(93, 93, 93);
    text-align: center;
    line-height: 1.5em;
    font-size:1.0em;
    height:100%;
}
.match-date-time .match-date{margin:0;}

#m_accordion_6_item_4_body, #m_accordion_hlgk_body, #m_accordion_hldef_body, #m_accordion_hlmid_body, #m_accordion_hlfwd_body {
  color: rgb(87, 89, 98);
}

/* CUSTOM */
.matchweek .m-stack{background-color:#000;color:#FFF;padding:10px;}
