body{
    background-color: #f9f9f9;
}

.clearfix{
    clear: both;
}

.p-10{
    padding: 10px;
}

.mb-10{
    margin-bottom: 10px;
}

.fmr-5{
    margin-right: 5px;
}

.fpl-banner-area{
    position: relative;
    height: 300px;
    padding: 0;
    width: 100%;
    background: url('../img/fpl_banner.png') no-repeat center center/cover;
}

.fpl-banner-logo{
    position: absolute;
    right: 16%;
    width: 250px;
    bottom: 0;
}

/*.fpl-banner-area img{*/
    /*width: 100%;*/
/*}*/

.fpl-banner-title {
    padding: 0 10px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.fpl-banner-title h1{
    text-shadow: 1px 1px 1px #42a5f6;
}

.fpl-not-enrolled {
    display: block;
    width: 100%;
    padding: 2em;
    text-align: center;
    font-size: 18px;
    color: #607d8b;
    line-height: 18px;
    font-weight: 700;
}


.primary-content-area{
    margin-left: -16px;
}

.news-image-wrapper img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.fpl-alert .modal-content{
    color: #444;
    font-size: 16px;
}

.fpl-alert .bootbox-body{
    margin-top: 10px;
    text-align: center;
}

.fpl-alert .bootbox-body:before {
    content: "\f06a";
    display: block;
    text-align: center;
    font: normal normal normal 30px/1 FontAwesome;
    margin-bottom: 5px;
    color: #f7631b;
}

.fpl-alert.fpl-success .bootbox-body:before{
    content:"\f00c";
    color: #28a745;
}

.fpl-alert .modal-footer{
    border-top: none;
    justify-content: center;
}

.fpl-alert button:not(.bootbox-close-button){
    border-radius: 0;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    text-transform: uppercase;
    background: #ffae00;
    margin: 0 5px 0 0;
    outline: none;
    border: none;
}

.fpl-alert button:focus{
    outline: none;
    border: none;
}

/* FPL HOME PAGE */
.fpl-get-started{
    margin-bottom: 1em;
}

.fpl-login-sep{
    position: relative;
}

.fpl-login-sep span{
    position: absolute;
    top: -20px;
    left: 45%;
    display: block;
    padding: 10px;
    background: #f9f9f9;
    color: #444;
}

.btn-social {
    width: 100%;
    text-align: center;
    margin-left: 0;
}

.btn-social i{
    margin-right: 10px;
}

.btn-fb{
    background: #3b5998;
    color: #FFF;
}

.btn-google{
    background: #dd4b39;
    color: #FFF;
}


.registration-block {
    /*background-color: #42a5f6;*/
    background-color: #00d1d9;
    color: #fff;
    padding: 40px 30px;
    margin: 30px 0;
}

.registration-block p.r-desc{
    font-size: 16px;
}

.btn-custom {
    border-radius: 0;
    font-size: 14px;
    font-weight: 700;
    padding: 1em 4em;
    text-transform: uppercase;
    background: #ffae00;
}

.btn-register {
    background: #FFF;
    /*color: #42a5f6;*/
    color: #00d1d9;
    margin-top: 10px;
}


h2.register-title {
    padding-top: 20px;
    font-weight: 400;
    text-align: center;
}

h2.register-title span {
    font-weight: 700;
}

.how-to-play {
    margin-bottom: 3em;
}

.customForm {
    margin-bottom: 2rem;
}

.customForm .form-group {
    margin-bottom: 1.5rem;
}

.customForm .form-group input {
    border-radius: 0;
    background: #FFF;
}

.customForm .btn-custom {
    margin: 0;
}

.link-forgot {
    color: #777;
}

#modalRegistration {
    border-radius: 0;
}

#modalRegistration .modal-header {
    background: #42a5f6;
    color: #FFF;
    border-radius: 0;
}

#registration-form {
    padding: 1em 2em;
}

#registration-form .form-title {
    border-bottom: 1px solid #000;
    font-size: 16px;
    margin-bottom: 1em;
    padding-bottom: 1em;
    width: 100%;
}

#registration-form .form-group input {
    background: #eee;
    border: 0;
    border-bottom: 1px solid #777;
}

#registration-form .form-group input:focus {
    box-shadow: none;
}

#registration-form div.radio{
    position: relative;
    width: 33%;
    float: left;
}

/*#registration-form div.radio:before{*/
/*content: "";*/
/*height: 17px;*/
/*width: 17px;*/
/*border: 3px solid #00ad6e;*/
/*display: block;*/
/*border-radius: 50%;*/
/*position: absolute;*/
/*top: 0;*/
/*left: 0;*/
/*}*/

#registration-form div.radio img{
    float:left;
    width: 60px;
}

#registration-form div.radio input{
    position: absolute;
    top: 0;
    left: 0;
    /*visibility: hidden;*/
}

/*#registration-form div.radio input:checked ~ .radio:before{*/
/*background: #00ad6e;*/
/*}*/
/**/
#registration-form div.radio span{
    display: table-cell;
    height: 60px;
    padding-left: 5px;
    vertical-align: middle;
}

/* FPL HOME PAGE ENDS */

/** FPL STAT SECTION **/
.fpl-stat-bar{
    margin-bottom: 1em;
    /*-webkit-border-radius: 0 0 1em 1em;*/
    /*-moz-border-radius: 0 0 1em 1em;*/
    /*border-radius: 0 0 1em 1em;*/
}

.fpl-stat-first-block{
    background-image: url(../img/g1.jpg);
    background-position: top;
    padding: 2em 1em 4em 1em;
    position: relative;
    color: #FFF;
}

.fpl-stat-first-block:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    background: rgba(0,0,0,0.6);
    left: 0;
}

.md-previous, .md-next{
    color: #fff;
    font-size: 16px;
    text-transform: capitalize;
}

.md-previous:hover, .md-next:hover{
    font-weight: bold;
    color: #FFF;
}

.md-current{
    font-size: 28px;
    font-weight: bold;
    text-shadow: 1px 1px 1px #42a5f6;
}

.fpl-stat-second-block{
    background: #00d4dc;
    color: #FFF;
    padding: 5px;
}

.fpl-stat-item{
    padding: 10px 5px;
    border-right: 1px solid #FFF;
}

.fpl-stat-item:last-child{
    border-right: none;
}

.fpl-stat-title {
    letter-spacing: -1px;
    font-size: 16px;
}

.fpl-stat-value{
    font-weight: 700;
    font-size: 24px;
}

.fpl-stat-text{
    font-size: 14px;
    font-weight: 400;
}

.fpl-balance{
    background: #fdd800;
    text-align: center;
    font-weight: 700;
    padding: 1em;
    margin-bottom: 1em;
}
/** FPL STAT SECTION ENDS **/

.user-profile-wrap{
    padding-top: 0;
}

.fpl-link-btn{
    width: 100%;
    text-align: center;
    margin-bottom: 1em;
    color: #FFF;
}

.fpl-link-btn:hover{
    background: #42a5f6;
    color: #FFF;
}

.form-group.user-item {
    /*border-bottom: 1px solid #ccc;*/
    margin-bottom: 2em;
    padding-bottom: 1em;
}

.form-group.user-item label{
    font-weight: bold;
    position: relative;
}

.form-group.user-item label:after{
    content: ':';
    position: absolute;
    right: 10px;
}

.form-group.user-item span{
    font-size: 16px;
    border-bottom: 1px solid #ccc;
    color: #444;
}

img.fpl-profile-image {
    height: 120px;
    width: 120px;
    object-fit: cover;
    border-radius: 50%;
    padding: 4px;
    background: #eee;
    border: 2px solid #FFF;
}

.user-profile {
    background: #e5e5e5;
    border-bottom: 4px solid #42a5f6;
    float: left;
    padding: 10px 10px 0 10px;
    width: 100%;
}

.flex-container {
    padding: 0;
    margin: 0;
    list-style: none;

    -ms-box-orient: horizontal;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;
    float: left;
}

.flex-container.center {
    -webkit-align-items: center;
    align-items: center;
}


.flex-item {
    padding: 5px;
    /*width: 50px;*/
    margin: 5px;

    line-height: 50px;
    font-weight: bold;
    text-align: center;
}

.user-profile p{
    line-height: 24px;
    font-size: 16px;
}

.fpl-user-control a{
    text-decoration: underline;
    text-decoration-color: #CCC;
    margin-left: 10px;
}

.fpl-user-control a:hover{
    color: #ffae00;
}


.fpl-box {
    background: #f7f7f7;
    width: 100%;
    box-shadow: 0 3px 11px #ccc;
}

.fpl-points p{
    border-bottom: 1px solid #CCC;
    padding: 0.5em 0;
    margin-bottom: 0;
    font-size: 16px;
}

.fpl-points p:last-child{
    border-bottom: none;
}

.club-player-select .d-inline-block{
    vertical-align: middle;
}

/** FPL PLAYERS SELECTION LIST **/

.fpl-user-players-container{
    background: #e9ecef;
    padding: 1em 0;
}

.fpl-selection-message{
    text-align: center;
    font-size: 16px;
    line-height: 32px;
    color: #795548;
    padding: 2em;
    margin-bottom: 2em;
    background: #ffebeb;
}

.fpl-selection-message i{
    font-size: 52px;
    color: #ffb500;
}

.fpl-selection-message i.fa-share{
    transform: rotate(160deg) scaleX(-1);
    color: #9E9E9E;
}

.fpl-player-selection-list table{
    font-size: 12px;
    background: #f9f9f9;
}

.fpl-player-selection-list table thead{
    background: #e5e5e5;
    border-bottom: 4px solid #FFF;
    color: #090909;
    font-size: 10px;
}

.fpl-player-selection-list table thead th{
    padding: 10px;
}

.fpl-player-selection-list table td{
    padding: 10px 5px;
    cursor: pointer;
}

.fpl-player-selection-list .fpl-player-name{
    line-height: 16px;
}

.fpl-player-selection-list .p-club{
    font-weight: 700;
    font-size: 9px;
}


.player-list-image{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.fpl-player-filter{
    padding-top: 1em;
    margin-bottom: 1em;
}

.fpl-player-filter select{
    background: #fff;
    border-radius: 5px;
    padding: 12px;
}

.fpl-player-filter select:focus, .fpl-player-filter input:focus{
    outline: none;
    border-color: #42a5f6;
    box-shadow: none;
}

#playerDetailModal .modal-content{
    border-radius: 0;
    margin-top: 8em;
}

#playerDetailModal #pd-close{
    position: absolute;
    top: -24px;
    right: -24px;
    background: rgb(185, 229, 249);
    padding: 10px 16px;
    border-radius: 50%;
    color: #444;
}

img#pd-image {
    width: 100%;
}

h4#pd-name {
    margin-bottom: 0;
}

#playerDetailModal p{
    margin-bottom: 5px;
}

tr.fpl-pl-selected{
    background: #e4f4fb !important;
}

/** FPL PLAYERS SELECTION LIST --- ENDS ---**/



/** SELECTED PLAYERS SECTION **/

.fpl-title-bar{
    margin-top: 2em;
    margin-bottom: 2em;
}

.fpl-title-bar h5{
    font-size: 18px;
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 2px solid #0a68b4;
}

.selected-player-wrap{
    clear: both;
    text-align: center;
    position: relative;
    margin-bottom: 1em;
}

.s-p-wrap {
    background: #FFF;
    padding-top: 1em;
}

.selected-player-image{
    width: 80px;
    height: 80px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    object-fit: cover;
}

.s-p-wrap.fpl-captain:before{
    content: 'C';
    display: inline-block;
    background: #00BCD4;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    text-align: center;
    color: #fff;
    position: absolute;
    top: 1em;
    font-weight: bold;
    right: 2em;
}

.selected-player-name{
    font-weight: 700;
}

.selected-player-type{
    font-weight: 500;
    color: #444;
}

.selected-team-save {
    text-align: center;
    margin-top: 3em;
}

.fpl-p-points{
    background: #ec6a2a;
    padding: 10px;
    font-weight: bold;
    color: #FFF;
}

.selected-player-controls{
    /*padding-bottom: 10px;*/
    /*visibility: hidden;*/
    /*font-size: 12px;*/
    /* visibility: hidden; */
    font-size: 12px;
    background: #dee2e6;
    padding: 10px;
}

/*.selected-player-wrap:hover > div.selected-player-controls{*/
    /*visibility: visible !important;*/
/*}*/

.selected-player-controls a{
    cursor: pointer;
    color: #0a68b4 !important;
}

.selected-player-controls a:hover{
    color: #ff9800 !important;
}
.selected-team-save .custom-btn {
    background: #ffae00;
    padding: 1em 3em;
}


/** SELECTED PLAYERS SECTION ---- ENDS-------- **/


.no-shadow{
    box-shadow: none !important;
}

/*.p-form-header {*/
    /*margin-bottom: 25px;*/
    /*padding-bottom: 10px;*/
    /*border-bottom: 1px solid #211e1f;*/
/*}*/
.p-form-header h2{
    margin-bottom: 5px;
    padding-bottom: 10px;
    border-bottom: 1px solid #211e1f;
}
.form.fpl-p-form {
    margin: 15px 0;
}
.fpl-fixture-content-wrapper .p-form-header h4,
.fixture-header-logo-wrap{
    display: inline-block;
}
.fixture-header-logo-wrap {
    vertical-align: text-bottom;
}
.fixture-header-logo-wrap img {
    height: 40px;
    width: 65px;
    margin-right: 5px;
}
.fixture-list {
    margin: 0;
    margin-bottom: 15px;
    clear: both;
}
.fixture-list .fix-match-head {
    padding: 10px 0px;
    color: #000;
    font-size: 14px;
    text-transform: uppercase;
    text-align: center;
    list-style: none;
    border-bottom: 1px solid #ddd;
}
.fixture-list .fix-match-head:last-child{
    border: none;
}
.fixture {
    display: block;
    color: #444;
    position: relative;
}

.fixture .f-club:first-of-type {
    text-align: right;
    padding-left: 0;
    padding-right: 7.5rem;
}
.fixture span, .fixture time {
    display: inline-block;
    vertical-align: middle;
}
.fixture .f-club {
    width: 50%;
    padding-left: 7.5rem;
    float: left;
    position: relative;
    text-align: left;
}
.fixture .teamName {
    font-size: 1.6rem;
    line-height: 3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
.fixture-team-wrap {
    display: block;
    width: auto;
}
.fixture time {
    width: 6rem;
    text-align: center;
    position: absolute;
    top: 18%;
    left: 50%;
    margin-left: -3rem;
    margin-top: -10px;
    background: #ffae00;
    color: #fff;
    font-size: 12px;

}

.fixture .score {
    width: 6rem;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -3rem;
    margin-top: -10px;
}
.fixture .team:not(:first-of-type) .c-pro-img {
    left: 4rem;
}
.fixture .c-pro-img {

}
.fixture .c-pro-img img{
    width: 40px;
    height: 40px;
}

#rulesModal .modal-title{
    color: white;
    font-weight: bold;
    font-size: 18px;
}

#rulesModal li, p{
    line-height: 26px;
    letter-spacing: 0.5px;
}

#rulesModal hr {
    background-color: #ddd;
    border: 0;
    height: 2px;
    margin-bottom: 1.5em;
}

#rulesModal .content {
    padding: 10px;
}

#rulesModal .note{
    background-color: #00d1d9;
    color: white;
    padding: 10px;
}

.fpl-rank th {
    background-color: #ffae00;
    font-weight: bold;
    color: #fff;
    white-space: nowrap;
    padding: 5px;
}

.fpl-rank tbody th {
    background-color: #2ea879;
}
.fpl-rank tbody tr:nth-child(2n-1) {
    background-color: #f5f5f5;
    transition: all .125s ease-in-out;
}

.fpl-rank td.team {
    text-transform: capitalize;
}
