.container{
    margin: auto;
}

.writers-form{
    width: 100%;
    margin: auto auto 60px auto;
}

.container-row{
    width: 100%;
    margin: auto;
}

.main{
    width: 100%;
    padding: 0px;
    margin: auto;
}

.form-column{
    margin-top: 0px;
}

.subheader{
    text-align: center;
}

.header{
    text-align: center;
}

.registration-header{
    margin: 60px 0px 40px 0px;
}

.form-row{
    position: relative;
    display: block;
    width: 100%;
}

.accessibility{
    margin: 40px 0px 20px 0px;
}

.results-container{
    position: relative;
    width: 85%;
    background-color: rgb(241, 241, 241);
    margin: 40px auto 40px auto;
    padding: 30px;

}

.results-heading{
    text-align: center;
    font-size: 18px;
}

.results-body{
    margin-top: 20px;
}

.faculty{
    display: none;
    margin-top: 40px;
}

.cancelation{
    margin: 40px 0px 40px 0px;
}

#div_id_sponsoring_institution{
    display: none;
}

.nonfield{
    font-size: 90%;
    color: #dc3545;
    font-weight: bolder;
    list-style: none;
}

.chq-logo{
    width: 60%;
    position: relative;
    text-align: center;
    margin: auto auto 30px auto;
    display: block;
}

.location-item{
    position:relative;
    background-color: rgb(241, 241, 241);
    padding: 30px;
    /* margin-bottom: 20px; */
    max-width: 830px;
    /* min-width: 830px; */
}

.location-body{
    margin: 20px 26px 0px 20px;
}

.location-label{
    margin-bottom: 20px; 
}

.location-title{
    display: inline-block;
    margin-left: 20px;
}

.walking-time-input{
    display: inline-block;
    width: 29%;
    max-width: 100px;
}

.walking-time-label{

    display: block;
}

.walking-time{
    display: none;
}

.shirt-ship{
    display: none;
}

label{
    -webkit-user-select: none;  /* Chrome all / Safari all */
    -moz-user-select: none;     /* Firefox all */
    -ms-user-select: none;      /* IE 10+ */
    user-select: none;
}

#shipping-container{
}

.container-header{
    margin: 0px 0px 20px 0px;
}

.form-container{
    margin: 30px 0px 30px 0px;
}

.form-container-inner{
    padding: 10px;
}

.shipping-info{
    display: none;
}

.shipping{
    margin-bottom: 60px;
}

.subtotal-header{
    display: inline-block;
    width: 65%;
    padding: 20px 20px 20px 60px;
    border-radius: 40px 0px 0px 40px;
    background-image: linear-gradient(to right bottom, #01382e, #00412f, #004a2d, #005329, #115c22);
    color: white;
    margin-bottom: 0px;
    font-size: 20px;
}

.subtotal-content{
    display: inline-block;
    text-align: right;
    width: 25%;
}

.subtotal-container{
    border: 1px solid rgb(202, 202, 202);
    padding: 0px;
    border-radius: 40px;
    background-color: rgb(234, 240, 240);
    width: 70%;
}

.run-aside{
    width: 350px;
    float: right;
    margin: 40px 20px auto auto;
}

.run-aside-r{
    width: 350px;
    float: left;
    margin: 40px auto auto 20px;
}

.run-aside-result{
    width: 350px;
    float: right;
    margin: 40px 20px auto auto;
}

.aside-img{
    width: 100%;
    max-width:285px;
    position: relative;
    display: block;
    margin: auto;
}

.aside-text{
    width: 100%;
    margin: 20px auto 20px auto;
}

.aside-container{
    background-color: rgb(241, 241, 241);
    padding: 30px;
    margin-bottom: 50px;
}

.share-race-text{
    text-align: center;
    margin-top: 10px;
}

.aside-socials{
    width: 50%;
    margin: auto;
    display:flex;
}

.aside-socials > a{
    display: inline-block;
    width: 30%;
    margin: auto;
    text-align: center;
}

.sponsors-header{
    width: 100%;
    text-align: center;
    margin: 20px 0px 40px 0px;
}

.sponsor-category{
    margin: 20px 0px 20px 0px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}

.sponsor-caption{
    margin-top: 10px;
    text-align: center;
    font-style: italic;
}

.ofn-submit{
    width: 100%;
    margin-top: 20px;
}

button.btn-primary {
    background-color: #115c22;
    border: none;
}

button.btn-primary:hover {
    background-color: #0d481b;
    border: none;
}

button.btn-outline-primary{
    color: #115c22;
    border-color: #115c22;
}

button.btn-outline-primary:hover {
    background-color: #0d481b;
    border-color: #115c22;
}

a.btn-primary {
    background-color: #115c22;
    border: none;
}

a.btn-primary:hover {
    background-color: #0d481b;
    border: none;
}

a.btn-outline-primary{
    color: #115c22;
    border-color: #115c22;
}

a.btn-outline-primary:hover {
    background-color: #0d481b;
    border-color: #115c22;
}

.submit-container{
    /* margin: 60px auto 100px 0px; */
    width: 90%;
}
.results-container-inner{
    margin: 40px auto auto auto;
    width: 80%;
}
.ofn-orderitem{
    background-color: white;

}

.ofn-orderitem td{
    text-align: right;
}

ul.errorlist{
    padding-left: 0px;
}

.errorlist{
    color: rgb(202, 17, 17);
    list-style: none;
    font-weight: 500;
}

.form-center{
    width: 80%;
    margin: auto;
}

@media only screen and (max-width: 1999px) {
    .form-container{
        margin: 30px auto 30px auto;
        width: 90%;
    }

    .subtotal-container{
        width: 90%;
        margin: auto;
    }

    .run-aside, .run-aside-r{
        float: none;
        width: 80%;
        margin: auto;
    }

    div.pending-container {
        width: 95% !important;
        padding: 10px !important;
        margin: 20px auto 20px auto !important;
    }

    form.clear-pending-form {
        display: block;
        width: 100%;
    }

    div.pending-subcontainer {
        display: block;
    }

    button.clear-btn {
        width: 80%;
        margin: auto auto 20px auto;
        display: block;
        float: none !important;
    }
}

@media only screen and (max-width: 666px) {
    .subtotal-header{
        font-size: 16px;
    }
}


.ofn-information-header > .chq-logo{
    width: 30%;
    position: relative;
    text-align: center;
    margin: auto auto 30px auto;
    display: block;
}

.information-main{
    margin: 40px;
}

.pending-container {
    width: 80%;
    max-width: 960px;
    margin: auto auto 100px auto;
    background-color: rgb(241, 241, 241);
    padding: 40px;
}

.pending-heading {
    margin-left: 90px;
}

.pending-subheader {
    margin-left: 90px;
}

button.clear-btn {
    float: right;
}

form.clear-pending-form {
    float: right;
}

div.pending-subcontainer {
    display: inline-block;
}

.hidden{
    display: none;
}

.noReg{
    margin-top: 40px;
}

.flex-box{
    display: flex;
    /* justify-content: space-between; */
    align-items: center;

}

.flex-box-v{
    display: flex;
    /* justify-content: space-between; */
    flex-direction: column;
    align-items: center;
    
}

.panel{
    margin-bottom: 1.5rem;
    min-height: 70px;
    padding: 16px;
    font-weight: 400;
    font-size: 16px;
    font-style: normal;
    line-height: 18px;
    letter-spacing: 0.15px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    box-shadow:
      0 6px 10px #00000024,
      0 1px 18px #0000001f,
      0 3px 5px #0003;
}

.panel-s{
    margin-bottom: 1.5rem;
    min-height: 70px;
    /* padding: 16px; */
    font-weight: 400;
    font-size: 16px;
    font-style: normal;
    line-height: 18px;
    letter-spacing: 0.15px;
    background: rgba(0, 0, 0, 0.1);
    /* border-radius: 15px; */
    box-shadow:
      0 6px 10px #00000024,
      0 1px 18px #0000001f,
      0 3px 5px #0003;
}

.banner-image{
    height:510px;
    background: url('../static/images/073121_OldFirstNight_KT_01-scaled.jpg');
    background-size: cover;
    background-position: center;
    border-bottom: 10px solid #056834;
}

.banner-panel{
    width:420px; 
    background:white; 
    margin-top:1vw;
}

.banner-header{
    font-family: Montserrat-Medium,Helvetica,sans-serif;
    font-weight: 700;
}
p{
    font-family: Roboto-Regular, Helvetica, sans-serif;
}

@media (min-width: 576px){
.modal-dialog {
    max-width: 80%!important;
    margin: 1.75rem auto;
}}


input.location-radio {
    display: none;
}

.award-block, .detail-block{
    text-align: center; 
    overflow: auto; 
    text-overflow: ellipsis;
    border-radius: 4px;
    padding:4px;
    margin:5px;
    background: rgba(255, 255, 255, 0.08);
}

.detail-block{
    padding-left: 11px;
    padding-right: 11px;
    overflow: hidden;
}

.award-block:hover, .detail-block:hover{
    background: rgba(255, 255, 255, 0.58);
}

h6{
    margin-bottom: 0px;
}

.location-price{
    font-size: 36px;
    font-weight: 700;
}

[id*="accordion"]{
    width:90%;
}

.card{
    border-top: 0px solid transparent;
    border-bottom: 0px solid transparent;
}

.collapsing, .show{
    border-bottom: 5px solid rgba(9, 59, 37, 0.463);
}

.card{
    border-left: 5px solid rgba(9, 59, 37, 0.463);
    border-right: 5px solid rgba(9, 59, 37, 0.463);
}

#div_id_fname, #div_id_lname{
    width: 40%;
}

#div_id_fname{
    margin-right:3%;
}

.registered-self{
    margin-top:20px;
    border-bottom: 1px solid #00000021;
    
}

#div_id_registered_self{
    display:flex;
    flex-direction:column;
    align-items: center;
}

#div_id_registered_self > label{
    font-weight: 500;
}

#div_id_registered_self > label > span{
    color:red;
    font-size:20px;
}

#div_id_registered_self > div{
    display:flex;
    width:100%;
    justify-content: space-evenly;
}



.racing-type{
    margin-top:20px;
    
}

#div_id_participation_type{
    display:flex;
    flex-direction:column;
    align-items: center;
}

#div_id_participation_type > label{
    font-weight: 500;
}

#div_id_participation_type > label > span{
    color:red;
    font-size:20px;
}

#div_id_participation_type > div{
    display:flex;
    width:100%;
    justify-content: space-evenly;
}



.childrens-events{
    margin-top:20px;
}

#div_id_childrens_events{
    display:flex;
    flex-direction:column;
    align-items: center;
}

#div_id_childrens_events > label{
    font-weight: 500;
}

#div_id_childrens_events > label > span{
    color:red;
    font-size:20px;
}

#div_id_childrens_events > div{
    display:flex;
    width:100%;
    justify-content: space-evenly;
}


#div_id_grounds > label > span{
    color:red;
    font-size:20px;
}

#div_id_grounds > div{
    display:flex;
    width:100%;
    justify-content: flex-start;
}

#div_id_grounds  .form-check{
    margin: 7px;
}



.shirt-ship{
    margin-top:20px;
    border-bottom: 1px solid #00000021;
}

#div_id_shirt_ship{
    display:flex;
    flex-direction:column;
    align-items: center;
}

#div_id_shirt_ship > label{
    font-weight: 500;
}
#div_id_shirt_ship > label > span{
    color:red;
    font-size:20px;
}

#div_id_shirt_ship > div{
    display:flex;
    width:100%;
    justify-content: space-evenly;
}

.footer{
    border-top:10px solid #056834;
    background-color:#00000011;
    color: #000;
    text-align: center;
    box-shadow: 0px -14px 10px #00000024;
    display:flex;
    align-items:center;
    justify-content: space-between;
}

@media (max-width: 800px){
    .footer{
        flex-direction: column;
    }
}

@media (max-width: 553px){
    .sub-footer{
        flex-direction: column;
    }
    .ssf{
        margin:10px 5px!important;
    
        
    }
}


.sub-footer{
    width: 100%;
    display: flex;
    align-items: center;
    text-align: left;
    margin-left: 15px;
    justify-content: center;
    align-content: flex-end;
    flex-wrap: nowrap;
}

a{
    color: #056834;
}

.footer-img {

    padding-left: 20px;
    padding-right: 20px;
    padding-top:10px;
    padding-bottom:10px;

}

.asteriskField{
    color:red;
    font-size: 20px;
}

@media (min-width: 1200px) and (max-width: 1592px){
    .col-xl-6 {
        flex: 0 0 40%!important;
        max-width: 40%!important;
    }

    .col-xl-3 {
        flex: 0 0 30%;
        max-width: 30%;
    }
    .form-center{
        width:100%;
    }
}

.col-none{
    display: none;
}
.col-show{
    display: block;
}

@media(max-width:1199px){
    .col-none{
        display: block;
    }
    .col-show{
        display: none;
    }
}

@media(max-width:536px){
    .form-center{
        width: 100%;
    }
    .form-container{
        width:100%!important;
    }
}

@media(max-width: 445px){
    .banner-panel{
        width:auto;
    }
    .location-item{
        max-width: 364px;
    }
    .award-block > h6, .detail-block > h6{
        font-size: 2.5vw;
    }
    .award-block, .detail-block{
        padding: 4px;
    }
}

@media(max-width: 610px){
    .silent-flex{
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
    }
}