.page-competition-detail {
    background: url(../../img/bgCompetitionsDetail.png) no-repeat left top;
    background-size: cover;
}

.page-competition-detail .competition-header {
    z-index: 99;
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: -30px;
    width: 50vw;
    min-height: 140px;
    background: #003366 url(../../img/bgFrame.png) bottom no-repeat;
    background-size: 100% auto;
    color: white;
    border-bottom-left-radius: 35px;
    border-bottom-right-radius: 35px;
    box-sizing: border-box;
    padding: 20px 10px 10px;
}

.page-competition-detail .competition-status {
    height: 140px;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top;
    padding: 20px 50px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.page-competition-detail .competition-status > div {
    position: relative;
    z-index: 2;
}

.page-competition-detail .competition-status::before {
    content: ' ';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    background: rgba(0, 51, 102, 0.7);
}

.page-competition-detail .competition-status h3,
.page-competition-detail .competition-status h4 {
    margin: 0;
}

.page-competition-detail .competition-leaderboard {
    position: relative;
    height: 500px;
    overflow: hidden;
    /* overflow-y: auto; */
}

.page-competition-detail .btn-toggle,
.page-competition-detail .btn-toggle-up {
    border: 0;
    display: block;
    background: url(../../img/button_arrow.png) no-repeat center;
    width: 57px;
    height: 57px;
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 2;
    outline: none;
}
.page-competition-detail .btn-toggle-up {
    background: url(../../img/button_arrow_up.png) no-repeat center;
}
.page-competition-detail .btn-toggle span {
    display: none;
}

.page-competition-detail .competition-boats {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.page-competition-detail .boats-container {
    /* position: absolute; */
    top: 300px;
    left: 0px;
    min-height: 100vh;
    transition: transform 5s ease-in-out;
    overflow: hidden;
    padding-left: 50px;
}

.page-competition-detail .boats-container.initialized {
    transition: transform 0.7s ease-out;
}

.page-competition-detail .competition-boat {
    position: absolute;
}

.competition-boats .boats-start,
.competition-boats .boats-end {
    position: absolute;
    left: 0;
    top: 45vh;
    bottom: 0;
    margin: auto 0;
    height: 500px;
    object-fit: contain;
    object-position: left;
    transition: transform 2s linear;
    z-index: 10;
}

.competition-boats .boats-end {
    right: 0;
    left: auto;
}

.competition-boats .boats-start.hide {
    left: -100px;
}

.competition-boats .boats-slider {
    position: absolute;
    background: url(../../img/slider.png) no-repeat center;
    background-size: 100% auto;
    left: 10vw;
    right: 10vw;
    bottom: 2vh;
    height: 60px;
}

.boats-slider .tiers {
    display: flex;
    flex-flow: row-reverse;
    text-align: right;
    color: white;
    font-weight: bold;
    position: absolute;
    top: 0px;
    width: 100%;
    border: blue;
}

.boats-slider .tiers .tier {
    flex: auto 1;
    min-height: 60px;
    position: relative;
    border-left: 2px dashed white;
}

.boats-slider .tiers .tier span {
    white-space: nowrap;
    position: absolute;
    right: 100%;
    height: 100%;
    display: block;
    overflow: visible;
    top: -50px;
    text-align: right;
}

.boats-slider .tiers .tier:first-child span {
    /* right: -100%; */
    text-align: left;
}

.boats-slider .tiers .tier small {
    font-weight: normal;
    font-size: 0.8em;
}

.boats-slider .rzslider {
    margin-top: 27px;
}

.boats-slider .rzslider .rz-bar {
    background: transparent;
}

.boats-slider .rzslider .rz-pointer {
    background: white;
}
