﻿/*      Bootstrap breakpoints.
X-Small             <576px
Small               ≥576px
Medium              ≥768px
Large               ≥992px
Extra large         ≥1200px
Extra extra large   ≥1400px
*/
/*@media (min-width: 768px) {*/
    /* Medium */
/*}*/





/***********
    Temp - to hide Coaches panel
***********/
.club-coaches-overlay {
    position: relative;
    width: calc(100% + 20px);
    height: calc(75% + 30px);
    top: -20px;
    left: -16px;
}
@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
    .club-coaches-overlay {
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
}




/***********
    Club Detail Page
***********/

.club-name {
}

.club-details-wrap{
    display:flex;
    width:100%;
    padding:10px;
}
    .club-details-wrap p {
        line-height: 1.5rem;
    }
    .club-details-wrap h3 {
        color: #1F2E57;
        font-size: 1.1rem;
        line-height: 1.3rem;
        margin-bottom:20px;
    }
.club-details {
    width: 33.33%;
    padding-right: 15px;
    border-right: 4px solid #ffffff;
}
.cd-top{
    display:flex;
    justify-content:space-between;
}
.cd-top .cd {
    width: calc(100% - 120px);
}
.cd-top .cd-logo {
    width: 120px;
    text-align: right;
}
.cd-email a {
    color: #D02D26;
    font-size: 1.1rem;
}
.cd-socials{
    margin-top: 10px;
}

.club-location {
    width: 66.66%;
    padding-left: 15px;
}

.club-affiliation {
    width: 16.66%;
    padding-right: 15px;
    border-right: 4px solid #ffffff;
}

.club-disciplines {
    width: 16.66%;
    padding-left: 15px;
    padding-right: 15px;
    border-right: 4px solid #ffffff;
}
.club-disciplines img, .coaches img{
    height:1.4rem;
    margin-right:5px;
}

.club-athletes {
    width: 40%;
    padding-left: 15px;
    padding-right: 15px;
    border-right: 4px solid #ffffff;
}
.info-wrap{
    display:flex;
    justify-content:space-between;
}
.chart-wrap {
   position: relative;
   width:calc(100% - 150px);
}
.cd-sex{
    text-align:center;
    padding:0 20px;
}
    .cd-sex p {
        font-size: 1.1rem;
    }
.cd-sex span{
    font-size:2.2rem;
    font-weight:700;
    display: inline-block;
    margin-top:10px;
}


.club-coaches {
    width: 26.66%;
    padding-left: 15px;
}
.coaches-wrap {
    display: flex;
    justify-content: space-between;
}

.divRankingsHeader{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom:30px;
    padding-left: 20px;
}
    .divRankingsHeader .border-header-med-largetext{
        line-height: 1.4;
    }

    @media only screen and (max-width: 991px) {
        .club-location {
        width: 50%;
    }
    .club-details{
        width:50%;
    }
    .cd-email a {
        font-size: 0.9rem;
    }
    .club-details-wrap{
        flex-wrap: wrap;
    }
    .club-affiliation {
        width: 50%;        
        border-bottom: 4px solid #ffffff;
    }
    .club-disciplines {
        width: 50%;
        padding-right: 0;
        border-right: none;
        border-bottom: 4px solid #ffffff;
    }
    .club-athletes {
        width: 50%;
        padding-left: 0;
        padding-top: 15px;
    }
    .club-coaches {
        width: 50%;
        padding-top: 15px;
    }
}

@media only screen and (max-width: 767px) {
    .club-details {
        width: 100%;
        padding: 0 0 15px 0;
        border-right: none;
    }

    .club-location {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        border-right: none;
    }

    .club-details {
        width: 100%;
    }

    .club-affiliation {
        width: 50%;
        border-bottom: none;
        padding-right: 0;
        border-right: none;
    }

    .club-disciplines {
        width: 50%;
        padding: 0;
        border-bottom: none;
    }

    .club-athletes {
        width: 100%;
        padding: 15px 0;
        border-right: none;
        border-bottom: none;
    }

    .club-coaches {
        width: 100%;
        padding: 15px 0 0 0;
    }

    .divRankingsHeader {
        display: block;
        padding: 0;
    }

    #divTrackRoadSelect {
        display: flex;
    }

    .divRankingsHeader .border-header-med-largetext {
        padding: 0 0 10px 0;
        font-size: 1.1rem;
    }
}


/***********
    Rankings Search - Track
        Road is the same in Rankings but Track is different (no region).
        Note, this HTML and CSS is basically a copy of Rankings Road (the same 4 layout areas vs rankings track's 5).
***********/
.clb-det-track-year {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: stretch;
    background-color: #F2F2F2;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
.clb-det-track-sex {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: stretch;
    background-color: #F2F2F2;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
.clb-det-track-ag {
    width: 100%;
    background-color: #F2F2F2;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
.clb-det-track-year-head {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.clb-det-track-yearcontouter {
    height: calc(9rem + 20px); /* line height (1.8) x number of items (+ 20px padding) */
    display: flex;
    flex-wrap: nowrap;
}
.clb-det-track-yearcont {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: calc(100% - 15px); /*15px = arrows*/
}
.clb-det-track-searchyear {
    width: 22.5%
}
.clb-det-track-sexoptscont-head {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.clb-det-track-sexoptscont {
    display: flex;
    flex-wrap: wrap;
}
.clb-det-track-sexopt {
    width: 50%;
}
.clb-det-track-agcont-head {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.clb-det-track-agcont {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    height: calc(10.8rem + 20px); /* line height (1.8) x number of items (+ 20px padding) */
}
.clb-det-track-searchag {
    width: 25%
}
@media (min-width: 576px) {
    /* Small */
    .clb-det-track-sex {
        width: 25%;
        border-bottom-right-radius: 0px;
    }
    .clb-det-track-ag {
        width: 75%;
        border-bottom-left-radius: 0px;
    }
    .clb-det-track-yearcontouter {
        height: calc(5.6rem + 20px); /* line height (1.8) x number of items (+ 20px padding) */
    }
    .clb-det-track-searchyear {
        width: 16.67%
    }
    .clb-det-track-sexopt {
        width: 100%;
    }
    .clb-det-track-sexoptscont-head {
        border-top-right-radius: 0px;
    }
    .clb-det-track-agcont-head {
        border-top-left-radius: 0px;
    }
}
@media (min-width: 768px) {
    /* Medium */
    .clb-det-track-agcont {
        height: calc(9rem + 20px); /* line height (1.8) x number of items (+ 20px padding) */
    }
    .clb-det-track-searchag {
        width: 20%
    }
}
@media (min-width: 992px) {
    /* Large */
    .clb-det-track-year {
        width: 40%;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    .clb-det-track-sex {
        width: 17%;
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
    }
    .clb-det-track-ag {
        width: 43%;
    }
    .clb-det-track-agcont {
        height: calc(7.2rem + 20px); /* line height (1.8) x number of items (+ 20px padding) */
    }
    .clb-det-track-year-head {
        border-top-right-radius: 0px;
    }
    .clb-det-track-sexoptscont-head {
        border-top-left-radius: 0px;
    }
    .clb-det-track-searchag {
        width: 25%
    }
    .clb-det-track-yearcontouter {
        height: calc(10.8rem + 20px); /* line height (1.8) x number of items (+ 20px padding) */
    }
    .clb-det-track-searchyear {
        width: 33%
    }
}
@media (min-width: 1200px) {
    /* Extra large */
    .clb-det-track-year {
        width: 40%;
    }
    .clb-det-track-sex {
        width: 15%;
    }
    .clb-det-track-ag {
        width: 45%;
    }
    .clb-det-track-searchag {
        width: 20%
    }
    .clb-det-track-yearcontouter {
        height: calc(7.5rem + 20px); /* line height (1.8) x number of items (+ 20px padding) */
    }
    .clb-det-track-searchyear {
        width: 20%
    }
}


/***********
    Results
***********/
.clb-grd-results-pbimgcont {
    width: 20px;
}
.clb-grd-results-pbimg {
    width: 100%;
}
.clb-grd-results-windcont {
    min-width: 20px;
}



/* New Mobile */
@media only screen and (max-width: 767px) {
    p {
        line-height: 1.4rem;
        color: #222C53;
    }

        p.club-title {
            font-size: 1.3em;
            font-weight: 600;
        }

    .club-details p {
        font-weight: 600;
    }

    .club-details span {
        font-weight: 400;
        text-transform: uppercase;
    }

    .cd-email a {
        font-size: 1.3em;
    }

    .club-affiliation p, .club-disciplines p, .club-coaches p {
        text-transform: uppercase;
    }

    .club-disciplines, .club-coaches {
        color: #222C53;
    }

    .page-intro-select .btn {
        margin: 0 10px 0 0;
        width:200px;
    }
}
@media only screen and (max-width: 575px) {
    .page-intro-select .btn {
        width: 150px;
    }
}