html {
    min-height: 100%;
    width: 100%;
    font-size: 14px;
}

@media (max-width: 1263px) {
    html {
        font-size: 12px;
    }
}

/* Styles for mobile phones */
@media (max-width: 768px) {
    html {
        font-size: 10px;
    }
}

.container1 {
    width: 95%; /* or any other width you prefer */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  
  
   
}

/* Styles for tablets and smaller screens */
@media (max-width: 1263px) {
    .container1 {
        width: 95%;
        left: 50%;
        transform: translateX(-32%)
    }
}

/* Styles for mobile phones */
@media (max-width: 768px) {
    .container1 {
        width: 110%;
        left: 50%;
        transform: translateX(-45%);
        font-size: 10px;
        
    }
}

/**********************Race card lists******************************/
.container2 {
    width: 90%; /* or any other width you prefer */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Styles for tablets and smaller screens */
@media (max-width: 1263px) {
    .container2 {
        width: 95%;
        left: 50%;
        transform: translateX(-50%)
    }
}

/* Styles for mobile phones */
@media (max-width: 768px) {
    .container2 {
        width: 89%;
        left: 50%;
        transform: translateX(-50%);
        font-size: 10px;
    }
}
/**********************Result card lists******************************/
.container3_1 {
    width: 90%; /* or any other width you prefer */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Styles for tablets and smaller screens */
@media (max-width: 1263px) {
    .container3_1 {
        width: 95%;
        left: 50%;
        transform: translateX(-50%)
    }
}

/* Styles for mobile phones */
@media (max-width: 768px) {
    .container3_1 {
        width: 89%;
        left: 50%;
        transform: translateX(-50%);
        font-size: 10px;
        margin: 0px 0px 0px 0px;
    }
}
/**********************Race card ******************************/
.container2_1 {
    width: 90%; /* or any other width you prefer */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Styles for tablets and smaller screens */
@media (max-width: 1263px) {
    .container2_1 {
        width: 95%;
        left: 50%;
        transform: translateX(-50%)
    }
}

/* Styles for mobile phones */
@media (max-width: 768px) {
    .container2_1 {
        width: 89%;
        left: 50%;
        transform: translateX(-50%);
        font-size: 10px;
    }
}
/**********************Result card  ******************************/
.container2_2 {
    width: 90%; /* or any other width you prefer */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Styles for tablets and smaller screens */
@media (max-width: 1263px) {
    .container2_2 {
        width: 95%;
        left: 50%;
        transform: translateX(-50%)
    }
}

/* Styles for mobile phones */
@media (max-width: 768px) {
    .container2_2 {
        width: 89%;
        left: 50%;
        transform: translateX(-50%);
        font-size: 10px;
        margin:0%;
    }
}

/**********************Race card detail******************************/
.container3 {
    width: 100%; /* or any other width you prefer */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    top:1PX;
}

/* Styles for tablets and smaller screens */
@media (max-width: 1263px) {
    .container3 {
        width: 80%;
        left: 50%;
        transform: translateX(-32%);
        font-size: 10px;
    }
}

/* Styles for mobile phones */
@media (max-width: 768px) {
    .container3 {
        width: 125%;
        left: 50%;
        top: 2px;
        transform: translateX(-38%);
        font-size:10px;
    }
}

/**********************Result card detail******************************/
.container4 {
    width: 90%; /* or any other width you prefer */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;

}

/* Styles for tablets and smaller screens */
@media (max-width: 1263px) {
    .container4 {
        width: 125%;
        left: 50%;
        transform: translateX(-35%);
        font-size: 10px;
    }
}

/* Styles for mobile phones */
@media (max-width: 768px) {
    .container4 {
        width: 150%;
        left: 50%;
        top: 2px;
        transform: translateX(-30%);
        font-size: 10px;
        
    }
}


.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
    width: 100%;
   
}
/* Default styles for desktop */
@media (min-width: 1264px) {
    body {
        min-width: 100%;
    }
}

/* Styles for tablets and smaller screens */
@media (max-width: 1263px) {
    body {
        font-size: 12px;
        line-height: 20px;
        min-width: 100%;
    }
}

/* Styles for mobile phones */
@media (max-width: 768px) {
    body {
        font-size: 10px;
        line-height: 18px;
        min-width: 100%;
    }
}
/*body {
    margin-bottom: 60px;
    min-height: 100%;
    width: 100%;*/
.center_1 {
    margin: 0 auto;
    text-align: center;
 
}

@media (min-width: 1201px) {
    .center_1 {
        margin: 0 auto;
        width: 70%;
        text-align: center;
        padding-left: 200px;
    }
}
    @media (max-width: 768px) {
        .center_1 {
            margin: 0 auto;
            width: 100%;
            text-align: center;
           
            padding-right: 10px;
        }
    }

    @media (max-width: 1200px) {
        .center_1 {
            margin: 0 auto;
            width: 80%;
            text-align: center;
            padding-right: 900px;
        }
    }
    /*.center_1 {
    margin: 0 auto;
    width: 100px;
    text-align: center;
    padding-right: 810px;
}*/
    .left_3 {
        padding-left: 50px
    }

    .right_3 {
        padding-right: 200px
    }

    .right_4 {
        padding-right: 900px
    }

    .left_c {
        padding-left: 20px;
        text-align: left;
    }

    .left_c1 {
        padding-left: 1px
    }


    .right_gc {
        margin: -10px 0px 0px 15px;
    }


    .fa, .fab, .fal, .far, .fas {
        line-height: inherit !important;
    }

    .back-button {
        display: inline-block;
        padding: 10px 20px;
        font-size: 16px;
        color: #fff;
        background-color: black;
        text-decoration: none;
        border-radius: 5px;
        transition: background-color 0.3s ease;
    }

        .back-button:hover {
            background-color: black;
        }

    .adverts {
        position: absolute;
        top: 0%;
        left: 100%;
        transform: translateY(-50%);
        background-color: azure; /* Optional: to make it visible */
        /* border: 1px solid black;  Optional: to make it visible */
        padding: 10px; /* Optional: for some spacing */
        z-index: 1000; /* Bring to front */
        min-width: 100px; /* Ensure it's visible */
        min-height: 50px; /* Ensure it's visible */
        margin: 0px 0px 0px 0px;
    }

    .downtown {
        padding-bottom: 1000px;
    }

.custom-header {
   /* background-color:darkred !important;
    color: white;
    font-weight: bold !important;
    font-size:12px*/
}
/*********this  if for the column headers, dont fuck with us*********************/
.alignment{
    margin-right:0px;
}

@media (max-width: 1263px) {
    .alignment {
        margin-right: 3px;
    }
}

/* Styles for mobile phones */
@media (max-width: 768px) {
    .alignment {
        margin-right: 3px;
    }
}
/*********this  if for the data, dont fuck with us, we SAS CODERS!*********************/
.alignment_d {
    margin-right: 0px;
}

@media (max-width: 1263px) {
    .alignment_d {
        margin-right: 0.5px;
    }
}

/* Styles for mobile phones */
@media (max-width: 768px) {
    .alignment_d {
        margin-right: 0.5px;
    }
}