/* Utils */
.text-center{
    text-align: center;
}
.text-left{
    text-align: left;
}
.text-right{
    text-align: right;
}

body #wrapper{
    overflow-x: hidden; 
}

body h1, .h1class{
    line-height: 72px !important;
    padding: 0px 20px !important;
}

/* Modal */
.league-modal{
    font-size: 15px;
}

.league-modal .modal-header {
    border-bottom: 0;
}

.league-modal .modal-header h4{
    font-family: Teko;
    line-height: 40px;
    letter-spacing: 1.2px;
    font-weight: 600;
    font-style: normal;
    color: #2053a3;
    font-size: 42px;
    text-shadow: -1px -1px 0 #bbb, 1px -1px 0 #BBB, 1px 1px 0 #bbb, 2px 2px 0px #141F46;
    text-transform: uppercase;
    padding: 7px 0 0;
}

.league-modal .modal-body{
    padding:0 15px 15px 15px;
}

.league-modal .modal-footer{
    padding: 0 15px 15px 15px;
    border-top: 0 !important;
}

/* League Name display */
.gls-league-table .so-panel {
	padding-bottom: 0!important;
}

.league-name{
    position: relative;
}

.league-name .kt-icon-spinner2{
    position: absolute;
    top: 40%;
    left: 45%;
    display: none;
    animation: spin 2s linear infinite;
}

.league-name.disabled{
    pointer-events: none;
}

.league-name.disabled a.show-league-info{
    opacity: 0.5;
}

/* Loader */
.league-name.disabled .kt-icon-spinner2{
    display: block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.league-name a.show-league-info,
.league-name span.error
{
    padding: 20px 15px;
    text-align: center;
    color: #444;
    line-height: 23px;
    display: block;
    cursor: pointer;
    width: 100%;
}

.league-name span.error{
	color: red;
	cursor:initial;
}

/* Stangings */
.league-standings{
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 26px;
}
.league-standings a{
    color: #fff;
}

.league-info-heading{
    font-weight: bold;
    margin: 15px 0;
    font-size: 17px;
}

.standings-header,
.standings-content,
.schedule-header,
.schedule-content
{
    display: block;
}

.standings-results-header{
    margin-bottom: 5px;
}

.standings-results-header > .row{
    background: #2053a3;
    color: #fff;
    font-size: 18px;
    padding: 5px 0;
    line-height: 26px;
    font-weight: 400 !important;
}

/*Schedules */
.league-schedules{
    margin-bottom: 15px;
}

.league-standings{
    font-size: 16px;
    line-height: 28px;
    font-weight: 600;
    color: #4b4b4b;
}

    /* Loader */
    .league-schedules .kt-icon-spinner2{
        animation: spin 2s linear infinite;
        display: none;
        padding: 15px 0;
    }

.standings-results span,
.schedule-results span
{
    /*white-space: nowrap;*/
}


/* Tooltips */
.red-tooltip + .tooltip > .tooltip-inner {background-color: #f00;}
.red-tooltip + .tooltip > .tooltip-arrow { border-bottom-color:#f00; }


/* Sorting */
#filter-teams, #filter-time {
    margin:10px auto;
    border:0;
}

.row-result-header{
    background: #bf010e;
    color: #fff;
    margin-bottom: 15px;
}

/* New Schedule Results Design */

.row-eq-height{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.align-items-center {
    -webkit-box-align: center!important;
    -ms-flex-align: center!important;
    align-items: center!important;
}


.team-highlighted {
    background-color: #ececec;
}


/* Redesign */

.schedule-results .loser{
    color: #bf010e;
}
.schedule-results .winner{
    color: #218809;
}
.schedule-results .ties{}

.schedule-result-date{
    margin-bottom: 15px;
}
.schedule-result-date:last-of-type{
    margin-bottom: 0;
}

.schedule-content{
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #4b4b4b;
    margin: 5px 0;
}

.schedule-content.ft{
    color: #bf010e;
}

.schedule-content-home b,
.schedule-content-away b{
    font-weight: 800;
}

.schedule-result-date .row-shedule-headline{
    background: #2053a3;
    color: #fff;
    font-size: 18px;
    padding: 5px 0;
    line-height: 26px;
    font-weight: 400 !important;
    margin-bottom: 5px;
}

.schedule-content-score{
    background: #ebebed;
    max-width: 60px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 1px;
}

.widget_get-league-widget{
    padding: 0!important;
    border: 0 !important;
}

.widget_get-league-widget .show-league-info{
    border: 3px solid #bbb;
}

/* Responsive css */
@media (min-width: 1025px){
    .league-modal .modal-lg {
        width: 1000px;
    }
}

@media (max-width: 1024px){   
    .league-modal .modal-lg {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }
}

@media (max-width: 991px){    
    .league-modal .modal-lg {
        width: 95%;
        margin-left: 2.5%;
        margin-right: 2.5%;
    }


    .league-standings{
        font-size: 15px;
        line-height: 24px;
    }

    .schedule-content{
        font-size: 15px;
        line-height: 24px;
        margin: 3px 0;
    }


}

@media (max-width: 782px){    
    body.admin-bar .league-modal .modal-lg{
        margin-top: 45px;
    }

}

@media (max-width: 767px){    

    .hide-sm{
        display: none;
    }

    .league-modal .modal-header h4{
        font-size: 32px;
        line-height: 32px;
    }

    .standings-results-header > .row,
    .schedule-result-date .row-shedule-headline{
        font-size: 16px;
        line-height: 24px;
    }

    .league-standings{
        font-size: 14px;
        line-height: 20px;
        font-weight: 400;
    }

        .schedule-content{
            font-size: 14px;
            line-height: 20px;
            font-weight: 400;
            white-space: nowrap;
        }
    
    .schedule-content-home b, .schedule-content-away b {
        font-weight: 700;
    }

}

@media (max-width: 543px){    
    #filter-teams {
        margin: 0 auto 20px auto;
    }
    #filter-time{
        margin-top: 0;
    }
}

@media (max-width: 480px){   
   .league-modal .row [class^="col-"],
   .league-modal .row [class^="col-"]
   {
        padding-left: 5px;
        padding-right: 5px;
   }
   .modal-header{
        padding:15px 5px;
   }
   .league-modal .modal-footer {
        padding: 0 5px 5px 5px;
        border-top: 0 !important;
        margin-top: 0;
    }

    .schedule-content{
        font-size: 13px;
    }
}


@media (max-width: 400px){    
/*   .standings-results .row [class^="col-"],
   .standings-results-header .row [class^="col-"]
   {
        padding-left: 10px;
        padding-right: 10px;
   }*/
}