/* Prevents the weird gray right side border on smaller devices*/
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

.landing_background {
    background-image: url('../../landing_background.svg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

.background_color {
    background: #1E2633;

}

.form-background {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    -webkit-border-radius: 10px !important;
    height: 650px;
}

.view-laptime-form-background {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    -webkit-border-radius: 10px !important;
    height: 780px;
}

.upload-lap-button {
    color: #FFFFFF;
    background: #DD0000;
    width: 400px;
}

.upload-lap-form-title {
    font-family: Racing Sans One;
    letter-spacing: 0.057em;
    color: black;
    font-size: 36px;
    line-height: 45px;
    font-style: normal;
    font-weight: normal;
}

.upload-lap-steps-svg {
    height: 68%;
    vertical-align: middle;
    border-style: none;
}

.upload-steps {
    padding-top: 10px;
}

.bm-title-1 {
    font-family: Racing Sans One;
    font-style: normal;
    font-weight: normal;
    font-size: 48px;
    line-height: 60px;
    text-transform: uppercase;
    color: #FFFFFF;
    letter-spacing: 0.21em;
}

.bm-title-2 {
    font-family: Racing Sans One;
    font-style: normal;
    font-weight: normal;
    font-size: 30px;
    line-height: 45px;
    text-decoration: none;

    align-items: center;
    letter-spacing: 0.057em;
    color: white;
}

.bm-title-2-underline {
    font-family: Racing Sans One;
    font-style: normal;
    font-weight: normal;
    font-size: 30px;
    line-height: 45px;

    align-items: center;
    letter-spacing: 0.057em;
    color: white;

    text-decoration: underline;
    text-decoration-color: red;
    text-underline-offset: 10px;

    padding-top: 20px;
    padding-bottom: 20px;
}


a, a:hover, a:focus, a:active {
    color: inherit;
    text-decoration: none;
}

.line-indent {
    /* margin-left: 2em;  */
    text-indent: -1em
}

.main_text {
    font-family: 'Roboto', sans-serif;
    color: white
}

.main_black_text {
    font-family: 'Roboto', sans-serif;
    color: black;
    font-style: normal;
    font-weight: normal;
}

.button-radio-button-text {
    font-size: 14px;
}

.time-attack-div {
    height: 60%;
}

.online-time-attack-text {
    font-family: 'Roboto', sans-serif;
    font-size: 50px;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: #FFFFFF;
    transform: rotate(-26.5deg);
}

.join_text {
    font-family: 'Roboto', sans-serif;
    /* position: absolute; */
    width: 300px;
    /* height: 107px; */
    /* left: 1043px; */
    /* top: 781px; */
    font-style: normal;
    font-weight: bold;
    font-size: 48px;
    /* line-height: 56px; */
    /* display: flex;
    align-items: center;*/
    text-align: center;

    /* White */
    color: #FFFFFF;
}

.bm-top-border {
    border-top: 3px solid red;
}

.bm-left-border {
    border-left: 3px solid red;
    height: 80%;
}

.bm-bottom-pad {
    padding-bottom: 10px;
}

.join-row-margin {
    margin-right: 40px;
}

.join-row {
    height:20%;
}
.join-now-button {
    font-family: 'Roboto', sans-serif;
    width: 300px;
    height: 50px;
    color: #FFFFFF;
    background: #DD0000;
    padding-top: 10px;
}

.isDisabled {
    cursor: not-allowed;
    opacity: 0.5;
  }

.isDisabled > a {
    color: currentColor;
    display: inline-block;  /* For IE11/ MS Edge bug */
    pointer-events: none;
    text-decoration: none;
}

.login-modal {
    height: 500px;
    border-radius: 10px;
    -webkit-border-radius: 10px !important;
    color: #1E2633;
}

.invite-modal {
    height: 500px;
    border-radius: 10px;
    -webkit-border-radius: 10px !important;
    color: #1E2633;
}

.invite-padding {
    padding-top: 10px;
    padding-bottom: 10px;
}

.bm-form-button {
    font-family: 'Roboto', sans-serif;
    color: #FFFFFF;
    background: #DD0000;
    width: 161px;
}

.bm-secondary-button {
    font-family: 'Roboto', sans-serif;
    color: #000000;
    background: #D8D8D8;
}

.bm-form-text-box {
    background: #F4F4F4;
    border-radius: 7px;
}

.bm-login-modal-text {
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: bold;
    color: #1E2633;
    font-size: 30px;
    line-height: 35px;
    padding-bottom: 15px;
}

.bm-login-logo {
    height:30%;
    width: 30%;
    padding-bottom: 20px;
    padding-top: 20px;
}

.login-button {
    font-family: 'Roboto', sans-serif;
    width: 265px;
    color: #FFFFFF;
    background: #DD0000;
}

.register-modal {
    border-radius: 10px;
    -webkit-border-radius: 10px !important;
}


.coming-soon {
    position: fixed;
    /* display: none; */
    font-family: 'Roboto', sans-serif;
    /* width: 100%; */
    height: 100%;
    font-size: 50px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: 	rgb(169,169,169,.4);
    z-index: 2;
    cursor: pointer;
    color: #FFFFFF;
}

.inputErrorMessage {
    color: #ff0000;
    font-size: 12px;
    margin: 0px 0 0 5px;
    text-align: left;
}

.slantedText {
    font-family: Racing Sans One;
    font-style: normal;
    font-weight: normal;
    color: #FFFFFF;
}

.lapSummaryWrapper {
    color: white;
    justify-content: center;
    width: 80vw;
}

.yTVideoIFrame {
    width: 100%;
    height: 100%;
}

.lapSummaryHeader {
    font-size: 48px;
    justify-content: center;
    margin: 102px auto 92px;
}

.yearMakeModelRow {
    font-size: 36px;
}

.nicknameRow {
    font-size: 30px;
}

.vehicleDetails {
    margin-bottom: 20px;
}

.vehicleDetailsCol {
    font-size: 30px;
    text-align: right;
}

.yTVideoContainer {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
}

.yTVideoContainer iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.redSeparator {
    border-top: 5px solid #DD0000;
    margin: 48px auto 44px;
    width: calc(100% - 132px);
}

.commentsAndFormRow {
    margin-top: 16px;
}

.commentsHeader {
    font-size: 36px;
    letter-spacing: 0.057em;
    line-height: 75px;
    margin-left: 15px;
}

.commentsWrapper {
    background-color: #D8D8D8;
    border-radius: 10px 10px 0 0;
    color: #000000;
    max-height: 400px;
    overflow-y: scroll;
}

.commentsInnerWrapper {
    padding: 10px 25px;
}

.commentBody {
    border-top: 0.5px solid #F4F4F4;
    padding: 15px;
}

.commentsInnerWrapper .commentBody:nth-of-type(1) {
    border-top: none;
}

.commentUserName {
    font-size: 20px;
    font-weight: 700;
    padding: 0;
}

.commentPostDate {
    align-self: center;
    font-size: 12px;
    text-align: right;
}

.commentUserImage {
    flex: 0 0 15%;
    padding-left: 0;
    padding-right: 6px;
}

.commentBoxWrapper .requiredField,
.commentBoxWrapper .help-block {
    display: none;
}

.commentBoxWrapper .commentInputBox {
    padding: 0;
}

.commentBoxWrapper .textarea {
    border: none;
    border-radius: 0 0 0 10px;
    height: 65px;
    padding: 19px 25px;
    resize: none;
    width: 100%;
}

.commentBoxWrapper .textarea:focus {
    outline: none;
}

.commentBoxWrapper .commentPostButton {
    background-color: #ffffff;
    border-radius: 0 0 10px 0;
    height: 65px;
    margin: 0;
    padding-right: 1.37rem;
}

/*
************* LEADERBOARDS ***************
*/
.main_text {
    margin: 0 auto;
    width: 80%;
}

#leaderboardTable {
    margin-top: 45px;
}

/* Using strict class tree to avoid collisions in the future if
    another table is embedded inside this one
*/
#leaderboardTable > thead > tr > th:first-child,
#leaderboardTable > tbody > tr > td:first-child {
    border-right: 2px solid #EAEAEA;
}

#leaderboardTable > thead > tr > th,
#leaderboardTable > tbody > tr > td {
    padding-left: 28px;
}

table.dataTable thead .sorting:before,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before,
table.dataTable thead .sorting_desc_disabled:after {
    bottom: 0.5em;
}

#leaderboardTable > thead > tr > th:last-child,
#leaderboardTable > tbody > tr > td:last-child {
    border-left: 2px solid #EAEAEA;
    margin: auto;
    padding-left: 0;
    text-align: center;
}

#leaderboardTable .odd {
    background-color: #2A303D;
}

#leaderboardTable .odd td a {
    color: #f4f4f4;
}

#leaderboardTable .even {
    background-color: #f4f4f4;
    color: #43485C;
}

/* #leaderboardTable .statusWrapper {
    margin: auto;
} */

#leaderboardTable .statusText {
    margin-left: 11px;
}

#leaderboardTable_wrapper > .row:first-child {
    flex-direction: row-reverse;
}

#leaderboardTable_wrapper #leaderboardTable_filter label {
    float: left;
}

#leaderboardTable_wrapper #leaderboardTable_length label {
    float: right;
}

/* Shows 'showing x out of y entries' text */
#leaderboardTable_wrapper > .row:nth-child(3) > .col-md-5 {
    display: none;
}

.leaderboardFiltersWrapper {
    color: #FFFFFF;
    width: 80%;
    margin: 71px auto 44px;
}

.leaderboardFiltersWrapper .dropdownWrapper {
    padding: 0;
    width: 25%;
}

.leaderboardFiltersWrapper .dropdownWrapper button,
.leaderboardFiltersWrapper .dropdownWrapper .dropdown-menu {
    width: 100%;
}


.rhombusButton:before {
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: "";
    width: 100%;
    height: 100%;
    transition: .2s;
    -webkit-transform: skewX(-10deg);
    -moz-transform: skewX(-10deg);
    -ms-transform: skewX(-10deg);
    transform: skewX(-10deg);
}

.leaderboardFiltersWrapper .dropdownWrapper .rhombusButton {
    background-color: #FFFFFF;
    border-radius: 0;
    box-shadow: none;
    display: inline-block;
    position:relative;
    padding: 15px 25px;
    color: #000000;
    text-decoration: none;
    -webkit-transform: skewX(-25deg);
    -moz-transform: skewX(-25deg);
    -ms-transform: skewX(-25deg);
    transform: skewX(-25deg);
    -webkit-backface-visibility: hidden;
}

.leaderboardFiltersWrapper .dropdownWrapper .rhombusButton:focus {
    background-color: #DD0000;
    color: #F4F4F4;
}

.rhombusButton .buttonText,
.rhombusButton:after {
    display: inline-block;
    -webkit-transform: skewX(25deg);
    -moz-transform: skewX(25deg);
    -ms-transform: skewX(25deg);
    transform: skewX(25deg);
}

.leaderboardFiltersWrapper .dropdownWrapper .dropdown-menu {
    border: none;
    border-radius: 0;
    margin-top: 0;
    padding: 0;
}

.leaderboardFiltersWrapper .dropdownWrapper .dropdown-item {
    padding: 13px;
}

.leaderboardFiltersWrapper .dropdownWrapper .dropdown-item:hover,
.leaderboardFiltersWrapper .dropdownWrapper .dropdown-item:focus {
    background-color: #DD0000;
    color: #F4F4F4;
}
