/**
Default styling
 */

.ec-caption {
    z-index: 1;
}

.squash-alert {
    color: #e95842;
}

.margin-top-30 {
    margin-top: 30px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-5 {
    margin-top: 5px;
}

.margin-bottom-30 {
    margin-bottom: 30px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

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

.margin-bottom-5 {
    margin-bottom: 5px;
}

.margin-left-30 {
    margin-left: 30px;
}

.margin-left-20 {
    margin-left: 20px;
}

.margin-left-10 {
    margin-left: 10px;
}

.margin-left-5 {
    margin-left: 5px;
}

.margin-right-30 {
    margin-right: 30px;
}

.margin-right-20 {
    margin-right: 20px;
}

.margin-right-10 {
    margin-right: 10px;
}

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

.padding-top-30 {
    padding-top: 30px;
}

.padding-top-20 {
    padding-top: 20px;
}

.padding-top-10 {
    padding-top: 10px;
}

.padding-top-5 {
    padding-top: 5px;
}

.padding-bottom-30 {
    padding-bottom: 30px;
}

.padding-bottom-20 {
    padding-bottom: 20px;
}

.padding-bottom-10 {
    padding-bottom: 10px;
}

.padding-bottom-5 {
    padding-bottom: 5px;
}

.padding-left-30 {
    padding-left: 30px;
}

.padding-left-20 {
    padding-left: 20px;
}

.padding-left-10 {
    padding-left: 10px;
}

.padding-left-5 {
    padding-left: 5px;
}

.padding-right-30 {
    padding-right: 30px;
}

.padding-right-20 {
    padding-right: 20px;
}

.padding-right-10 {
    padding-right: 10px;
}

.padding-right-5 {
    padding-right: 5px;
}

.grey-text {
    color: #777;
}

/**
Top strip (navigation)
 */
.squash-logout-section {
    padding-bottom: 15px;
}

.squash-logout-section i {
    margin: 3px 0px 0px 0px;
}

/**
Banner
 */

.caption-inner-wrap p,
.caption-inner-wrap h1 {
    color: #1e1e1e;
}

/**
Front page
 */
.squash-lates-matches ul li {
    line-height: 20px;
}

.squash-lates-matches ul li section div {
    color: #979797;
    font-size: 12px;
    font-weight: 600;
}

.squash-match-score {
    font-weight: 500;
    font-size: 22px;
}

.squash-match-player-name {
    line-height: 20px;
}

/**
User Show
 */

.user-statictic-title {
    padding: 10px 5px 5px 50px;
}

.ec-featured-star {
    left: 10px;
}

.ec-blog-text h2.user-statictic-text {
    text-align: center;
    font-size: 4em;
}

.ec-blog-text h2.user-statictic-text small {
    font-size: 0.3em;
}

.ec-related-wrap {
    padding-top: 10px;
}

.ec-related-wrap ul li {
    margin-top: 20px;
}

.ec-grid-time span {
    text-align: center;
    line-height: 1.1em;
}

.ec-event {
    box-shadow: none;
}

/**
Competition Show
 */

.ec-event-fixtures > div > h1,
.ec-event-fixtures > div > h2,
.ec-event-fixtures > div > .post-option {
    text-align: center;
}

.ec-event article .squash-competition-text {
    width: 85%;
    border-right: none;
}

/**
Competition Show
 */

.ec-team-matches .squash-competition-title,
.ec-team-matches .squash-competition-location {
    width: 100%
}

.ec-team-matches .squash-competition-title {
    padding: 25px 0 10px 0;
}

.ec-team-matches .squash-competition-location {
    padding: 0 0 10px 0;
}

.ec-fancy-title .text-center {
    float: none;
}

.squash-category-info-list {
    border-top: 2px solid #3668ca;
    border-bottom: 2px solid #4e4e4e;

}

.ec-table-point.squash-category-info-list {
    margin-bottom: 0;
}

/**
Tournament index
 */
.post-option a small:hover {
    color: #e95842;
}

.text h1 a span:hover {
    color: #333333;
}

#loader-overlay-cont {
    display: none;
}

#loader-overlay {
    top: 0;
    position: absolute;
    z-index: 99999;
    width: 100%;
    height: 100%;
    background-color: rgb(233, 88, 66);
    left: 0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    text-align: center;
}

.loader-overlay-spinner {
    font-size: 15em;
    color: rgba(0, 0, 0, .075);
}

/*Competition*/

.competition-heading {
    color: white;
    font-size: 3em;
}

.ec-fixture-vs:before {
    content: '';
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background: #503901;
    background: -moz-linear-gradient(left, #503901 50%, #db452c 0%);
    background: -webkit-linear-gradient(left, #503901 50%, #db452c 0%);
    background: linear-gradient(to right, #503901 50%, #db452c 0%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#503901', endColorstr='#db452c', GradientType=1);
}

/*Layout banner*/
.flexslider .slides > li {
    display: inherit;
}

.ec-caption {
    top: 30%
}

/**
* Competition Show
**/
.ec-fixture-option li.competition-heading-sub {
    font-size: 1em;
    font-weight: 700;
    color: #dddddd;
}

.ec-fixture-option.competition-status {
    float: left;
    width: 100%;
    text-align: center;
    background-color: #652e30;
    margin-bottom: 30px;
}

.ec-fixture-option.competition-status li {
    padding: 3px 15px;
}

.ec-fixture-list ul li .ec-cell.set-start-time {
    text-align: center;
}

.competition-set-result {
    font-size: 1.5em;
    font-weight: 700;
}

.ec-fixture-list ul li .ec-cell.set-results-row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.set-result-player-name {
    width: 40%;
}

.ec-matches-list .set-result-player-name .ec-fixture-flag {
    width: auto;
}

.ec-main-content .widget_categories ol {
    float: left;
    padding: 2px 24px 11px;
    width: 100%;
}

.competition-roster-iteration {
    float: left;
    padding: 0 10px 0 0;
}

.competition-lastSets-pagination {
    padding-right: 10px;
    float: right;
}

.ec-table-point {
    margin-bottom: 0;
}

ul.ec-table-head li .ec-cell:nth-child(2) {
    width: 50%;
}

ul.ec-table-head li .ec-cell:nth-child(1),
ul.ec-table-head li .ec-cell:nth-child(3),
ul.ec-table-head li .ec-cell:nth-child(4),
ul.ec-table-head li .ec-cell:nth-child(5) {
    width: 10%;
}

ul.ec-table-head.tournament-admin-list li .ec-cell:nth-child(3) {
    text-align: left;
    padding: 10px;
    width: 200px;
}

ul.ec-table-head.ranklist li .ec-cell:nth-child(4) {
    text-align: left;
    padding: 10px;
    width: 200px;
}

ul.ec-table-head.competition-admin-list li .ec-cell:nth-child(1) {
    text-align: left;
    padding: 10px;
    width: 170px;
}

ul.ec-table-head.competition-admin-list li .ec-cell {
    width: 50px;
    text-align: center;
}

ul.ec-table-head.ranklist li .ec-cell,
ul.ec-table-head.tournament-admin-list li .ec-cell {
    width: 55px;
    text-align: center;
    padding: 10px 0;
}

.ec-main-content .widget .ec-fancy-title.showBracket {
    margin-bottom: 0;
    background-color: #3097D1;
}

.ec-main-content .widget .ec-fancy-title.playMatches {
    margin-bottom: 0;
    background-color: #d13d5d;
}

.ec-main-content .widget .ec-fancy-title.showBracket h2,
.ec-main-content .widget .ec-fancy-title.playMatches h2 {
    float: none;
    text-align: center;
}

.ec-main-content .widget .ec-fancy-title.showBracket h2 a,
.ec-main-content .widget .ec-fancy-title.playMatches h2 a {
    color: white;
}

.ec-main-content .widget .ec-fancy-title.showBracket h2 a:hover,
.ec-main-content .widget .ec-fancy-title.playMatches h2 a:hover {
    color: #2f3030;
}

/*User Profile*/
.user-statictic-title h4 {
    padding-left: 10px;
}

.ec-event.upcoming-competitions article {
    margin-top: 0;
}

/*Admin bar*/

#adminbar {
    /*color: #ccc;*/
    /*width: 100%;*/
    /*font-size: 13px;*/
    /*font-weight: 400;*/
    /*line-height: 32px;*/
    /*padding: 10px 0 10px 20px;*/
}

#adminbar .ec-navigation {
    margin-left: 10px;
}

#adminbar .ec-navigation > ul > li {
    float: none;
}

#adminbar ul,
#adminbar li,
#adminbar li a {
    list-style: none;
}

#adminbar > ul > li {
    border-bottom: 1px solid #555555;
}

#adminbar li a {
    padding: 10px 15px;
    color: #fff;
    text-transform: uppercase;
}

#adminbar li a:hover,
#adminbar li a:focus {
    color: orangered;
    background-color: inherit;
}

.nav.nav-pills.nav-stacked ul li {
    font-size: 0.8em;
    border: none;
}

#adminbar .ec-navigation > ul > li > a {
    padding: 5px 0 0 0;
    color: #fcfcfc;
}

.admin-bar-margin {
    margin-bottom: 32px;
}

#adminbar .ec-navigation > ul > li > a:before {
    content: normal;
}

.widget_categories.player-penalty ul li a:before {
    content: normal;
}

@media screen and (max-width: 37em) {

    .ec-event-fixtures {
        margin-bottom: 20px;
    }

    .match-result {
        display: none;
    }

    .tree-cont {
        display: block;
    }

    .tree-set-box {
        width: 100%;
    }

    .tree-set-cont {
        padding: 0;
        margin: 0 0 30px 0;
    }

    .bonus-round.tree-set-box {
        margin-top: 0;
    }

    .tree-cont.top-me {
        padding-top: 0;
    }

    .tree-player {
        font-size: 18px;
    }
}

@media (min-width: 38em) {

    .tree-cont {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .tree-set-cont:after {
        position: absolute;
        right: 0;
        content: '';
        display: block;
        width: 20px;
        height: 45%;
        border-right: 2px solid #9e9e9e;
    }

    .column-32 .tree-set-cont:after {
        height: 65%;
    }

    .column-16 .tree-set-cont:after {
        height: 135%;
    }

    .column-8 .tree-set-cont:after {
        height: 300%;
    }

    .column-4 .tree-set-cont:after {
        height: 550%;
    }

    .tree-set-cont:nth-child(odd)::after {
        top: 50%;
        border-top: 2px solid #9e9e9e;
        -webkit-transform: translateY(-1px);
        transform: translateY(-1px);
        border-top-right-radius: 0.6em;
    }

    .tree-set-cont:nth-child(even)::after {
        bottom: 50%;
        border-bottom: 2px solid #9e9e9e;
        -webkit-transform: translateY(1px);
        transform: translateY(1px);
        border-bottom-right-radius: 0.6em;
    }

    .tree-column:first-child .tree-set-box::before,
    .tree-column:first-child .tree-set-box::after {
        border: none;
    }

    .tree-column:last-child .tree-set-cont:after {
        border: none;
    }

    .tree-set-box::before,
    .tree-set-box::after {
        position: absolute;
        left: 0;
        z-index: 1;
        content: '';
        display: block;
        width: 20px;
        height: 50%;
        border-left: 2px solid #9e9e9e;
    }

    .tree-set-box::after {
        top: 50%;
        border-top: 2px solid #9e9e9e;
        -webkit-transform: translate(0, -1px);
        transform: translate(0, -1px);
    }

    .tree-set-box::before {
        bottom: 50%;
        border-bottom: 2px solid #9e9e9e;
        -webkit-transform: translate(0, 1px);
        transform: translate(0, 1px);
    }

    .tree-column.column-32 > .tree-set-cont {
        margin: 10px 0;
    }

    .tree-column.column-16 > .tree-set-cont {
        margin: 60px 0;
    }

    .tree-column.column-8 > .tree-set-cont {
        margin: 160px 0;
    }

    .tree-column.column-4 > .tree-set-cont {
        margin: 350px 0;
    }

    .tree-column.column-2 > .tree-set-cont {
        margin: 0;
    }

    /*Only-8*/
    .tree-column.column-8.only-8 > .tree-set-cont {
        margin: 10px 0;
    }

    .tree-column.column-4.only-8 > .tree-set-cont {
        margin: 60px 0;
    }

    .tree-column.column-2.only-8 > .tree-set-cont {
        margin: 160px 0;
    }

    .column-8.only-8 .tree-set-cont:after,
    .column-8.only-8 .tree-set-cont:before {
        height: 85%;
    }

    .column-4.only-8 .tree-set-cont:after {
        height: 100%;
    }

    .column-2.only-8 .tree-set-cont:after {
        height: 300%;
    }

    /*Only-4*/
    .tree-column.column-2-end > .tree-set-cont {
        margin: 60px 0 0 0;
    }

    .tree-column.column-2.only-4 > .tree-set-cont {
        margin: 60px 0;
    }

    .tree-column.column-2.only-4.alone.bonus .tree-set-cont:first-child {
        margin: 150px 0 0 0;
    }

    .tree-column.column-2.only-4.alone .tree-set-cont:first-child {
        margin: 0 0 0 0;
    }

    .tree-column.column-2.only-4.alone .tree-set-cont:first-child .tree-set-box:before,
    .tree-column.column-2.only-4.alone .tree-set-cont:first-child .tree-set-box:after {
        height: 85%;
    }

    .tree-column.column-2-end > .tree-set-cont.bonus-round {
        margin: 0;
    }

    .tree-column.column-2.alone > .tree-set-cont,
    .tree-column.column-4.alone > .tree-set-cont {
        margin: 10px 0;
    }

    .column-4.alone .tree-set-cont:after {
        height: 50%;
    }

    .extra-round.tree-set-box:after,
    .extra-round.tree-set-cont:after,
    .bonus-round.tree-set-box:before,
    .bonus-round.tree-set-box:after {
        border: none;
    }
}

@media print {

    .tree-cont {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .tree-set-cont:after {
        position: absolute;
        right: 0;
        content: '';
        display: block;
        width: 20px;
        height: 45%;
        border-right: 2px solid #9e9e9e;
    }

    .column-32 .tree-set-cont:after {
        height: 65%;
    }

    .column-16 .tree-set-cont:after {
        height: 135%;
    }

    .column-8 .tree-set-cont:after {
        height: 300%;
    }

    .column-4 .tree-set-cont:after {
        height: 550%;
    }

    .tree-set-cont:nth-child(odd)::after {
        top: 50%;
        border-top: 2px solid #9e9e9e;
        -webkit-transform: translateY(-1px);
        transform: translateY(-1px);
        border-top-right-radius: 0.6em;
    }

    .tree-set-cont:nth-child(even)::after {
        bottom: 50%;
        border-bottom: 2px solid #9e9e9e;
        -webkit-transform: translateY(1px);
        transform: translateY(1px);
        border-bottom-right-radius: 0.6em;
    }

    .tree-column:first-child .tree-set-box::before,
    .tree-column:first-child .tree-set-box::after {
        border: none;
    }

    .tree-column:last-child .tree-set-cont:after {
        border: none;
    }

    .tree-set-box::before,
    .tree-set-box::after {
        position: absolute;
        left: 0;
        z-index: 1;
        content: '';
        display: block;
        width: 20px;
        height: 50%;
        border-left: 2px solid #9e9e9e;
    }

    .tree-set-box::after {
        top: 50%;
        border-top: 2px solid #9e9e9e;
        -webkit-transform: translate(0, -1px);
        transform: translate(0, -1px);
    }

    .tree-set-box::before {
        bottom: 50%;
        border-bottom: 2px solid #9e9e9e;
        -webkit-transform: translate(0, 1px);
        transform: translate(0, 1px);
    }

    .tree-column.column-32 > .tree-set-cont {
        margin: 10px 0;
    }

    .tree-column.column-16 > .tree-set-cont {
        margin: 60px 0;
    }

    .tree-column.column-8 > .tree-set-cont {
        margin: 160px 0;
    }

    .tree-column.column-4 > .tree-set-cont {
        margin: 350px 0;
    }

    .tree-column.column-2 > .tree-set-cont {
        margin: 0;
    }

    /*Only-8*/
    .tree-column.column-8.only-8 > .tree-set-cont {
        margin: 10px 0;
    }

    .tree-column.column-4.only-8 > .tree-set-cont {
        margin: 60px 0;
    }

    .tree-column.column-2.only-8 > .tree-set-cont {
        margin: 160px 0;
    }

    .column-8.only-8 .tree-set-cont:after,
    .column-8.only-8 .tree-set-cont:before {
        height: 85%;
    }

    .column-4.only-8 .tree-set-cont:after {
        height: 100%;
    }

    .column-2.only-8 .tree-set-cont:after {
        height: 300%;
    }

    /*Only-4*/
    .tree-column.column-2-end > .tree-set-cont {
        margin: 60px 0 0 0;
    }

    .tree-column.column-2.only-4 > .tree-set-cont {
        margin: 60px 0;
    }

    .tree-column.column-2.only-4.alone.bonus .tree-set-cont:first-child {
        margin: 150px 0 0 0;
    }

    .tree-column.column-2.only-4.alone .tree-set-cont:first-child {
        margin: 0 0 0 0;
    }

    .tree-column.column-2.only-4.alone .tree-set-cont:first-child .tree-set-box:before,
    .tree-column.column-2.only-4.alone .tree-set-cont:first-child .tree-set-box:after {
        height: 85%;
    }

    .tree-column.column-2-end > .tree-set-cont.bonus-round {
        margin: 0;
    }

    .tree-column.column-2.alone > .tree-set-cont,
    .tree-column.column-4.alone > .tree-set-cont {
        margin: 10px 0;
    }

    .column-4.alone .tree-set-cont:after {
        height: 50%;
    }

    .bonus-round.tree-set-box:before,
    .bonus-round.tree-set-box:after {
        border: none;
    }

    a[href]:after {
        content: none !important;
    }

    body {
        transform: scale(.8);
    }

    /*table {*/
    /*page-break-inside: avoid;*/
    /*}*/
    /*@page {*/
    /*size: 210mm 297mm; !* landscape *!*/
    /*!* you can also specify margins here: *!*/
    /*!*margin: 25mm;*!*/
    /*margin-right: 10mm; !* for compatibility with both A4 and Letter *!*/
    /*margin-left: 10mm; !* for compatibility with both A4 and Letter *!*/
    /*}*/
    .tab-content {
        border: none;
    }

    .tree-set-box {
        border: 1px solid #000000;
    }

    .tree-player:first-child {
        border-bottom: 1px solid #000000;
    }

    .tree-player-pic {
        display: none;
    }

    .tree-player {
        font-size: 16px;
    }

    .tree-set-box::before,
    .tree-set-box::after,
    .tree-set-cont::after {
        border-color: #000000;
    }

    .tree-player.winner a {
        font-size: 17px;
        font-weight: bolder;
    }

    .btn-primary,
    .btn-danger,
    .btn-info,
    .btn-default,
    .btn-warning,
    .btn-success {
        border: none;
    }

    ul.nav-tabs {
        display: none;
    }

}

.extra-round {
    position: absolute;
    bottom: 50%;
    left: 10px;
    margin: 0;
}
