﻿/*      Bootstrap breakpoints.
X-Small             <576px
Small               ≥576px
Medium              ≥768px
Large               ≥992px
Extra large         ≥1200px
Extra extra large   ≥1400px
*/
/*@media (min-width: 768px) {*/
    /* Medium */
/*}*/


/***********
    Track / Road Searches
***********/

/***********
    Main  Search - shared
***********/
.rnk-srch-head {
    width: 100%;
    font-weight: 500;
    color: white;
    background-color: #1F2E57;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 5px;
    padding-bottom: 5px;
}
.rnk-srch-err {
    display: none;
    width: 100%;
    color: #D02D26;
    margin-bottom: 10px;
    margin-top: 10px;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.rnk-lst-err {
    display: none;
    width: 100%;
    color: #D02D26;
    margin-bottom: 10px;
    margin-top: 10px;
}
.rnk-srch-cont {
    width: 100%;
}
.rnk-srch-additionaloptions-select-cont {
    width: 100%;
}
@media (min-width: 576px) {
    /* Small */
    .rnk-srch-cont {
        width: 50%;
    }
}
@media (min-width: 992px) {
    /* Large */
    .rnk-srch-cont {
        width: 25%;
    }
    .rnk-srch-cont-dbl {
        width: 50%;
    }
}
.rnk-srch-contouter {
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.rnk-sep-vert-opp {
    width: 100%;
}
.rnk-sep-vert-opp-smUp {
}
.rnk-sep-vert-opp-lgUp {
}
.rnk-sep-vert-cont {
    height: 100%;
    width: 4px;
}
.rnk-sep-vert-cont-smUp {
    display: none;
}
.rnk-sep-vert-cont-mdUp {
    display: none;
}
.rnk-sep-vert-cont-lgUp {
    display: none;
}
.rnk-sep-vert {
    width: 4px;
    height: calc(100% - 70px);
    margin-top: 1rem;
}
.rnk-sep-horiz-cont {
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}
.rnk-sep-horiz {
    width: 100%;
    height: 1px;
}
@media (min-width: 576px) {
    /* Small */
    .rnk-sep-vert-opp-smUp {
        /*width: calc(100% - 30px);*/
    }
    .rnk-sep-vert-cont-smUp {
        display: block;
    }
}
@media (min-width: 768px) {
    /* Medium */
    .rnk-sep-vert-cont-mdUp {
        display: block;
    }
    .rnk-sep-vert-cont-hide-mdUp {
        display: none;
    }
}
@media (min-width: 992px) {
    /* Large */
    .rnk-sep-vert-opp-lgUp {
        /*width: calc(100% - 30px);*/
    }
    .rnk-sep-vert-cont-lgUp {
        display: block;
    }
}

/***********
    Main Search - Track
***********/
.rnk-track-container {
    display: flex;
    flex-wrap: wrap;
}
.rnk-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;
}
.rnk-track-region {
    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;
}
.rnk-track-sex {
    width: 30%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: stretch;
    background-color: #F2F2F2;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}
.rnk-track-ag {
    width: 70%;
    background-color: #F2F2F2;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}
.rnk-track-ev {
    width: 100%;
    margin-bottom: 1rem;
    background-color: #F2F2F2;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.rnk-track-year-head {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.rnk-track-yearcontouter {
    height: calc(9rem + 20px); /* line height (1.8) x number of items (+ 20px padding) */
    display: flex;
    flex-wrap: nowrap;
}
.rnk-track-yearcont {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: calc(100% - 15px); /*15px = arrows*/
}
.rnk-track-yeararrowcont {
    width: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.rnk-track-searchitem {
    height: 1.8rem;
}
.rnk-track-searchyear {
    width: 22.5%
}
.rnk-track-searcharrows {
    width: 10%
}
.rnk-track-regnatcont-head {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.rnk-track-regnatcont {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    height: calc(9rem + 20px); /* line height (1.8) x number of items (+ 20px padding) */
}
.rnk-track-searchregnat {
    width: 33%
}
.rnk-track-searchsmwrap {
    line-height: 1rem;
}
@media (min-width: 300px) {
    .rnk-track-searchsmwrap {
        line-height: revert;
    }
}
.rnk-track-searchmidwrap {
    line-height: 1rem;
}
@media (min-width: 374px) {
    .rnk-track-searchmidwrap {
        line-height: revert;
    }
}
.rnk-track-sexoptscont-head {
    border-top-left-radius: 15px;
}
.rnk-track-sexoptscont {
    display: flex;
    flex-wrap: wrap;
}
.rnk-track-sexopt {
    width: 100%;
}
.rnk-track-agcont-head {
    border-top-right-radius: 15px;
}
.rnk-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) */
}
.rnk-track-searchag-txtcont {
    display: flex;
    flex-wrap: nowrap;
}
.rnk-track-searchag-txt {
    margin-left: 10px;
    border-color: #1F2E57;
}
.rnk-track-searchag {
    width: 50%
}
.rnk-track-event-head {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    width: 100%;
}
@media (min-width: 576px) {
    /* Small */
    .rnk-track-yearcontouter {
        height: calc(7.2rem + 20px); /* line height (1.8) x number of items (+ 20px padding) */
    }
    .rnk-track-searchyear {
        width: 20%
    }
}
@media (min-width: 768px) {
    /* Medium */
    .rnk-track-year {
        width: 65%;
        order: 1;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    .rnk-track-region {
        width: 65%;
        order: 3;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    .rnk-track-sex {
        width: 35%;
        order: 1;
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
        border-top-right-radius: 15px;
        border-bottom-right-radius: 15px;
    }
    .rnk-track-ag {
        width: 35%;
        order: 4;
    }
    .rnk-track-ev {
        order: 6;
    }
    .rnk-track-year-head {
        border-top-right-radius: 0px;
    }
    .rnk-track-sexoptscont-head {
        border-top-left-radius: 0px;
        border-top-right-radius: 15px;
    }
    .rnk-track-regnatcont-head {
        border-top-right-radius: 0px;
    }
    .rnk-sep-vert-cont-sex {
        display: none;
    }
    .rnk-track-sep-horiz-year {
        order: 2;
    }
    .rnk-track-sep-horiz-ag {
        order: 5;
    }
    .rnk-track-yearcontouter {
        height: calc(9rem + 20px); /* line height (1.8) x number of items (+ 20px padding) */
    }
    .rnk-track-searchyear {
        width: 25%
    }
}
@media (min-width: 992px) {
    /* Large */
    .rnk-track-year {
        width: 26%;
        order: revert;
    }
    .rnk-track-region {
        width: 38%;
        order: revert;
    }
    .rnk-track-sex {
        width: 12.5%;
        order: revert;
    }
    .rnk-track-ag {
        width: 23.5%;
        order: revert;
    }
    .rnk-track-ev {
        order: revert;
    }
    .rnk-track-sex {
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    .rnk-track-sexoptscont-head {
        border-top-right-radius: 0px;
    }
    .rnk-track-region {
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
    }
    .rnk-track-regnatcont-head {
        border-top-left-radius: 0px;
    }
    .rnk-sep-vert-cont-sex {
        display: block;
    }
    .rnk-track-sep-horiz-year {
        order: revert;
    }
    .rnk-track-sep-horiz-ag {
        order: revert;
    }
    .rnk-track-yearcontouter {
        height: calc(16.2rem + 20px); /* line height (1.8) x number of items (+ 20px padding) */
    }
    .rnk-track-searchyear {
        width: 50%;
    }
    .rnk-track-regnatcont {
        height: calc(12.6rem + 20px); /* line height (1.8) x number of items (+ 20px padding) */
    }
    .rnk-track-searchregnat {
        width: 50%
    }
}
@media (min-width: 1200px) {
    /* Extra large */
    .rnk-track-year {
        width: 25%;
    }
    .rnk-track-region {
        width: 43%;
    }
    .rnk-track-sex {
        width: 11.5%;
    }
    .rnk-track-ag {
        width: 20.5%;
    }
    .rnk-track-yearcontouter {
        height: calc(10.8rem + 20px); /* line height (1.8) x number of items (+ 20px padding) */
    }
    .rnk-track-searchyear {
        width: 33%
    }
    .rnk-track-regnatcont {
        height: calc(10.8rem + 20px); /* line height (1.8) x number of items (+ 20px padding) */
    }
    .rnk-track-searchregnat {
        width: 33%
    }
}
@media (min-width: 1400px) {
    /* Extra Extra large */
    .rnk-track-year {
        width: 26%;
    }
    .rnk-track-region {
        width: 43%;
    }
    .rnk-track-sex {
        width: 9.5%;
    }
    .rnk-track-ag {
        width: 21.5%;
    }
}

/***********
    Main Search - Road
***********/
.rnk-road-container {
    display: flex;
    flex-wrap: wrap;
}
.rnk-road-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;
}
.rnk-road-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;
}
.rnk-road-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;
}
.rnk-road-ev {
    width: 100%;
    margin-bottom: 1rem;
    background-color: #F2F2F2;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.rnk-road-year-head {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.rnk-road-yearcontouter {
    height: calc(9rem + 20px); /* line height (1.8) x number of items (+ 20px padding) */
    display: flex;
    flex-wrap: nowrap;
}
.rnk-road-yearcont {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: calc(100% - 15px); /*15px = arrows*/
}
.rnk-road-yeararrowcont {
    width: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rnk-road-searchitem {
    height: 1.8rem;
}
.rnk-road-searchyear {
    width: 22.5%
}
.rnk-road-searcharrows {
    width: 10%
}
.rnk-road-sexoptscont-head {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.rnk-road-sexoptscont {
    display: flex;
    flex-wrap: wrap;
}
.rnk-road-sexopt {
    width: 50%;
}
.rnk-road-agcont-head {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.rnk-road-agcont {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    height: calc(10.8rem + 20px); /* line height (1.8) x number of items (+ 20px padding) */
}
.rnk-road-searchag-txtcont {
    display: flex;
    flex-wrap: nowrap;
}
.rnk-road-searchag-txt {
    margin-left: 10px;
    border-color: #1F2E57;
}
.rnk-road-searchag {
    width: 25%
}
.rnk-road-event-head {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    width: 100%;
}
@media (min-width: 576px) {
    /* Small */
    .rnk-road-sex {
        width: 25%;
        border-bottom-right-radius: 0px;
    }
    .rnk-road-ag {
        width: 75%;
        border-bottom-left-radius: 0px;
    }
    .rnk-road-yearcontouter {
        height: calc(5.6rem + 20px); /* line height (1.8) x number of items (+ 20px padding) */
    }
    .rnk-road-searchyear {
        width: 16.67%
    }
    .rnk-road-sexopt {
        width: 100%;
    }
    .rnk-road-sexoptscont-head {
        border-top-right-radius: 0px;
    }
    .rnk-road-agcont-head {
        border-top-left-radius: 0px;
    }
}
@media (min-width: 768px) {
    /* Medium */
    .rnk-road-agcont {
        height: calc(9rem + 20px); /* line height (1.8) x number of items (+ 20px padding) */
    }
    .rnk-road-searchag {
        width: 20%
    }
}
@media (min-width: 992px) {
    /* Large */
    .rnk-road-year {
        width: 40%;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    .rnk-road-sex {
        width: 17%;
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
    }
    .rnk-road-ag {
        width: 43%;
    }
    .rnk-road-agcont {
        height: calc(10.8rem + 20px); /* line height (1.8) x number of items (+ 20px padding) */
    }
    .rnk-road-year-head {
        border-top-right-radius: 0px;
    }
    .rnk-road-sexoptscont-head {
        border-top-left-radius: 0px;
    }

    .rnk-road-searchag {
        width: 25%
    }
    .rnk-road-yearcontouter {
        height: calc(10.8rem + 20px); /* line height (1.8) x number of items (+ 20px padding) */
    }
    .rnk-road-searchyear {
        width: 33%
    }
}
@media (min-width: 1200px) {
    /* Extra large */
    .rnk-road-year {
        width: 40%;
    }
    .rnk-road-sex {
        width: 15%;
    }
    .rnk-road-ag {
        width: 45%;
    }

    .rnk-road-agcont {
        height: calc(9rem + 20px); /* line height (1.8) x number of items (+ 20px padding) */
    }
    .rnk-road-searchag {
        width: 20%
    }
    .rnk-road-yearcontouter {
        height: calc(9rem + 20px); /* line height (1.8) x number of items (+ 20px padding) */
    }
    .rnk-road-searchyear {
        width: 20%
    }
}





/***********
    Search Age Messages
***********/
.trkrd-search-agmessage-wraparound {
    width: 100%;
    position: relative;
}
.trkrd-search-agmessage-messagecontainer {
    padding-left: 35px;
    padding-right: 15px;
    padding-top: 18px;
    padding-bottom: 18px;
}
.trkrd-search-agmessage-messagetextbody {
    font-size: 0.75rem;
    line-height: 1rem;
}


/***********
    Results
***********/
.trkrd-results-agetext {
    font-size: 0.6rem;
}
.trkrd-results-medal {
    height: 0.9rem;
    padding-left: 10px;
}


/***********
    Grid More Action popup
*/
.rnk_moreact_anc {
    margin-left: 10px;
    display: none;
}

.rnk_moreact_ancimg {
    height: 1.5rem;
}

.rnk_moreact_pop_anc {
    color: white;
    font-weight: bold;
    font-size: large;
    margin-left: 5px;
}

    .rnk_moreact_pop_anc:hover {
        color: #DDDDDD;
    }


/***********
    Qualification Standards
***********/
.qualistand-grid-cell {
    padding-left: 0px !important;
    padding-right: 0px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}
.qualistand-grid-divcont {
    display: flex;
    justify-content: center;
    align-items: center;
}
.qualistand-grid-desc {
    font-size: 8px;
    line-height: 8px;
}
.qualistand-grid-desc-sm {
}
.qualistand-grid-desc-md {
}
.qualistand-grid-desc-lg {
}

/* Outline CSS - Defined In DB */
.qualistand-grid-divouter {
    text-align: center;
    font-size: 0.6rem;
    line-height: 1rem;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    border-radius: 10px;
}
@media (min-width: 576px) {
    /* Small */
    .qualistand-grid-divouter {
        font-size: 0.9rem;
        line-height: 1.2rem;
    }
}
@media (min-width: 768px) {
    /* Medium */
    .qualistand-grid-divouter {
        font-size: 1.0rem;
        line-height: 1.3rem;
    }
}
@media (min-width: 992px) {
    /* Large */
    .qualistand-grid-divouter {
        font-size: 1.1rem;
        line-height: 1.9rem;
    }
}

/* Left and Right Image CSS - Defined In DB */
.qualistand-grid-imgleft {
    margin-left: 20px;
    margin-right: 20px;
}
.qualistand-grid-imgright {
    margin-left: 20px;
    margin-right: 20px;
}

/* Specific Types CSS - Defined In DB */
.qualistand-grid-worldstandard {
    background-color: #253418;
    color: white;
}
.qualistand-grid-worldstandardimg {
    height: 1.7rem;
}
.qualistand-grid-ukastandard {
    background-color: #222C53;
    color: white;
}
.qualistand-grid-ukastandardimg {
    height: 1.2rem;
    margin-top: 4px;
    margin-bottom: 3px;
}
.qualistand-grid-uktarget {
    background-color: #B49577;
    color: white;
}
.qualistand-grid-uktargetimg {
    height: 1.7rem;
}
.qualistand-grid-EAtarget {
    background-color: #CC3332;
    color: white;
}
.qualistand-grid-EAtargetimg {
    height: 1.7rem;
}
.qualistand-grid-EUtarget {
    background-color: #028FD1;
    color: white;
}
.qualistand-grid-EUtargetimg {
    height: 1.7rem;
}
.qualistand-grid-CGtarget {
    background-color: #7E3F8B;
    color: white;
}
.qualistand-grid-CGtargetimg {
    height: 1.7rem;
}