/*HTML RESET*/
*{
    margin: 0;
    padding:0;
    box-sizing: border-box;    
}

/* Main Styling */
html,body {
    font-family: 'Lato', sans-serif;
    line-height: 1.7em;
    background: #fcfcfc;
    color: #333;
}

a {
    color: #333;
    text-decoration:none;
}

h1, h2, h3 {
    padding-bottom: 20px;
}

/*Utility Styling*/
.container {
    margin: auto;
    max-width: 1200px;
    overflow: auto;
    padding: 0 20px;
    min-height: 100%;
}
    /*Headers*/
.header-l {
    color: #474747;
    text-align: center;
    margin-top: 40px;
    font-size: 1.125rem;
}
.header-m {
    color: #fff;
    background-color: #E22029;
    padding: 20px;
}

    /*Text Colors*/
.text-primary {
    color: #474747;
  }
.text-secondary {
    color: #fff;
}
.text-alt {
    color: #E22029;
}
.strava-color {
    color:#fc4c02; 
}

    /* Backgrounds*/
.bkg-l-grey {
    background-color: #f4f2f0;
}
.bkg-white {
    background-color: #fff;
}
.form-sheet {
    margin: 40px 60px;
    background-color: #fff;
}

    /* Buttons */
.btn {
    display: inline-block;
    font-size: 1.125rem;
    color: #fff;
    background: #088E45;
    padding: 13px 20px;
    border: none;
    cursor: pointer;
}

.btn-dark {
    display: inline-block;
    font-size: 1.125rem;
    color: #fff;
    background: #b5b4bb;
    padding: 5px 20px;
    border: none;
    cursor: pointer;
}

.btn-l {
    padding: 10px 20px;
    width:60%;
}

.bkg-green-s {
    display: inline-block;
    font-size: 1.125rem;
    color: #fff;
    background: #088E45;
    padding: 13px 20px;
    border: none;
}

    /* Reg Buttons */
.reg-btn-1 a {
    margin: 0;
    padding: 11px 22px;
    background-color: #979A91;
}
.reg-btn-1 {
    float: left;
    padding-bottom: 40px;
}
.reg-btn-2 {
    float: right;
    padding-bottom: 40px;
}

    /* Padding */
.py-1 { padding: 10px 0; }
.py-2 { padding: 20px 0; }
.py-3 { padding: 30px 0; }

    /* Tables */
.tbl-format {
    width: 95%;
    padding-bottom: 20px;
    margin: 0 auto 50px auto;
}
.tbl-bg {
        background-color: #e4e4e4;
}
.tbl-bg-light {
    background-color: #f4f2f0;
}
.tbl-bg-color {
    background-color: #E22029;
    color: #fff;
}

    /* Links PDF */
#pdf {
    text-align: center;
    font-size: 12px;
    padding-bottom: 15px; 
}
#pdf a:hover {
    color: #E22029;
}

    /* Spacing */
.clr {
    clear: both;
}

    /* Disable Links */
.disabled {
    pointer-events:none;
    opacity:0.6; 
}

/* Boton para hacer scroll up */
#myBtn {
    display: none;
    position: fixed;
    bottom: 70px;
    right: 30px;
    z-index: 99;
    font-size: 25px;
    border: none;
    outline: none;
    background-color: #E22029;
    cursor: pointer;
    padding: 12px 15px;
    border-radius: 50%;
  }
  
  #myBtn i {
    color:#fff;
  }

  #myBtn:hover {
    background-color: rgba(0,0,0,0.35);
  }


/*-**************-PAGES STYLING-**************-*/

/*----------NAVBAR STYLING----------*/

#navbar {
    /* background: #c8c6c2; */
    background: #e22029;
    color: #fff;
    font-size: 0.9rem;
    overflow: auto;
}

#navbar img {
    float: left;
    height: 52px;
    width: auto;
    margin-top: 8px;
}

#navbar a {
    color: #fff;
}

#navbar ul {
    list-style: none;
    float:right;
}

#navbar ul li {
    float: left;
}

#navbar ul li a {
    display: block;
    margin: 0px 0.5px;
    padding: 20px;
    text-align: center;
    text-transform: uppercase;
}

#navbar ul li a:hover, 
#navbar ul li a.active {
    background:#ACABB3;
}

#navbar form {
    padding-top: 17%;
    padding-left: 20px;
}

#navbar i {
    color: #fff;
}

#navbar select {
    font-family: 'Lato', sans-serif;
    border: none;
    border-radius: 2%;
    background-color: #333;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/*----------MOBILE NAVIGATION----------*/
.mobile-nav-icon {
    float: right;
    margin-top: 15px;
    cursor: pointer; 
    display: none;
}

.mobile-nav-icon i {
    font-size: 250%;
    color: #fff;
}

/*----------FOOTER STYLING----------*/
#main-footer {
    text-align: center;
    font-size: 1.2rem;
    background: #E22029;
    color: #fff;
    padding: 20px;
    margin-bottom: 0px;
}

#main-footer a {
    color: #fff;
}

#main-footer a:hover {
    padding-bottom: 5px;
    border-bottom: #fff solid 2px;
}

/*----------INDEX STYLING----------*/
#event-info {
    margin-top: 5%;
    /* margin-bottom: 5%; */
    min-height: 100%;
}
#event-info .container {
    display:flex;
    flex-direction: row-reverse;
    text-align: center;
    justify-content: center;
}

#event-info .left-info,
.right-info {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 2%;
}

#event-info .left-info img {
    width: 100%;
    height: auto;
    margin-top: 5%;
}

#event-info .main-title {
    margin: 0 25%;
    text-align: center;
    border-bottom: double 2px #DCDBDF;
}

#event-info .main-title h1 {
    line-height: 2.7rem;
    font-size: 220%;
    padding-bottom: 2%;
}

#event-info .right-info .countdown {
    width: 100%;
    font-size: 1.5rem;
    padding: 25px 0 25px 0;
    margin: 0% 1.5%;
    /* color: #333; */
    color: #fff;
    border-radius: 3%;
}

#event-info .countdown ul {
    display: flex;
    text-align: center;
    justify-content: center;
}

#event-info .countdown ul li {
    display: flex;
    flex-direction: column;
    background: #E22029;
    width: 22%;
    margin: 0;
    padding: 0;
}

#event-info .right-info ul {
    list-style: none;
}

#event-info .right-info span {
    margin: 0;
    padding: 5px 10px;
    font-size: 2rem;
    font-weight: 600;
    display: block;    
    color: #fff;
}

#event-info .right-info a {
    color: #fff;
}

#event-info .right-info a:hover {
    color: #ACABB3;
}

#event-info .reg-btn {
    margin-bottom: 20px;
}

#event-info .notice {
    color: #E22029;
    font-size: 1.3rem;
    font-weight: bold;
}

/* #event-info h3 {
    color: #0199C9;
    margin-top: 10px;
    padding-bottom: 0;
} */

#event-info .sponsor img {
    width: 50%;
    height: auto;
    margin: 20px 50px;
}

#event-info .sponsor a {
    color: #333;
}

#event-info .sponsor a:hover {
    color: #E22029;
}

#event-info .social {
    display: flex;
    width: 100%;
    justify-content: center;
}

#event-info .facebook,
#event-info .instagram,
#event-info .url {
    width: 20%;
    margin: 15px 0;
}

#event-info .url {
    text-align: right;
}

#event-info .facebook {
    text-align: center;
}

#event-info .instagram {
    text-align: left;
}

.url i {
    color: #333;
}

.url i:hover {
    color:rgba(51, 51, 51, 0.822);
}

.facebook i {
    color: #3b5998;
}

.facebook i:hover {
    color: #3b5898ce;
}

.instagram i {
    color: #E1306C;
}

.instagram i:hover {
    color: #e1306bbb;
}

.strava-tutorial {
    justify-content: center;
    padding: 3% 0;
    background-color: #F7F6F8;
}

.strava-tutorial h2 {
    font-size: 2rem;
}

.promo-video,
.strava-video {
    text-align: center;
    padding: 15px 5px;
}

.promo-video {
    width: 100%;
}

/*----------CONVOCATORIA STYLING----------*/
.info-rules {
    width: 100%;
    padding: 10px 35px;
}

.info-rules p {
    text-align: justify;
    padding: 0 20px 5px 20px;
}

.info-rules .info-1,
.info-rules .info-2,
.info-rules .info-3  {
    padding-bottom: 20px;
}

.info-1 ul,
.info-1 ol {
    padding-left: 15%;
}

.info-2 .list-format {
    margin-left: 5%;
}

.info-3 li {
    padding-left: 50px;
}

.tec-info-2 {
    display: none;
}

/*---------FAQ STYLING----------*/
.faq h3 {
    margin-top: 10px;
    padding-bottom: 0;
}

.faq p {
    margin-bottom: 10px;
    padding-left: 30px;
    line-height: 1.8;
}

.faq hr {
    border-top: 1px dashed #fff;
    border-left: #fff;
    margin-bottom: 20px;
}

/*----------INSCRITOS STYLING----------*/
table {
    border-collapse: collapse;
    margin: auto;
    width: 95%;
    font-size: 1rem;
}

th, td {
    border-bottom: 5px solid #e4e4e4;
    padding: 10px 15px;
    text-align: left; 
    background-color: #fff;
    color: #333;
}

th {
    background-color: #e4e4e4;
}

/*----------RESULT TABLES STYLING----------*/
.race-category h1 {
    font-size: 2em;
}

.icons-light {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.icons-light img {
    width: 7%;
}

.icon-phone {
    text-align: center;
    display: none;
}

.icon-phone img {
    width: 10%;
}

.category-header {
    display: flex;
    align-items: center;
}

.race-category .header-m {
    /* padding-bottom: 20px; */
}

.group-box-1 {
    width: 4%;
    padding: 0;
}

.box-2,
.box-3 {
    width: 48%;
}

.group-box-1 img {
    width: 130%;
    height: auto;
}

.position {
    font-size: 170%;
    color: #fff;
    text-align: center;
}

.race-category h2{
    padding-bottom: 0px; 
}

.box-2 {
    text-align: left;
    padding-left: 3%;
}
.box-3 {
    text-align: right;
}

.race-category .important-info,
.important-info i {
    color: #fff;
}

.race-category th,
.race-category td {
    text-align: center;
}

.race-category .name-align {
    text-align: left;
}

.total-km {
    text-align: right;
    padding-right: 30px;
    font-size: 110%;
}

/*----------LOGIN PAGE STYLING----------*/
#login {
    background-color: #E22029;
}

#login .container {
    height: 100vh;
}

.home {
    text-align: right;
    height: 10%;
    font-size: 1rem;
}

.home a {
    color: #fff;
}

.home ul {
    list-style: none;
    float:right;
}

.home ul li {
    float: left;
}

.home ul li a {
    display: block;
    padding: 20px;
    text-align: center;
    text-transform: uppercase;
}

.home ul li a:hover  {
  /* color: #92217A; */
  color: #ACABB3;
}

.form-group input:focus {
    outline-color: #E22029;
}

.form-group li {
    list-style: none;
}

.home i {
    color: #fff;
}

.home select {
    font-family: 'Lato', sans-serif;
    border: none;
    border-radius: 2%;
    background-color: #333;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.home select:hover  {
    color: #ACABB3;
}

#login .login-left {
    float: left;
    width: 50%;
    margin: 10% 0;
}

#login .login-right {
    display: block;
    float: right;
    width: 50%;
    margin-top: 15%;
}

.login-left img {
    width:100%;
    height: auto;
    padding: 25% 5%;
}

.login-right h2 {
    text-align: center;
    padding-top: 90px;
    color: #fff;
    text-transform: uppercase;
}

.email {
    text-align: center;
}

.email h4 {
    color:#fff;
    font-weight: 300;
    margin-bottom: 0px;
}

.email .form-group li {
    height: 85px;
}

.email .form-group label {
    color: #fff;
    display: block;
}

.form-group input {
    width: 60%;
    padding: 10px;
}

.login-right .log-btn {
    padding: 20px 0;
    text-align: center;
}

.form-group ul li {
    list-style: none;
}

.login-right .errorlist {
    font-size: 0.9rem;
    color: #fff;
}

.forgotpass {
    margin-bottom: 20px;
    font-weight: 300;
}

.forgotpass a {
    color: #fff;
    border-bottom: 1px solid #fff;  
} 

/*----------REG STEPS STYLING----------*/
#reg-steps {
    background: #E22029;
    color: #fff;
    font-size: 0.9rem;
    overflow: auto;
}

#reg-steps a {
    color: #fff;
}

#reg-steps .steps-big,
#reg-steps .steps-small {
    list-style: none;
    margin: 0 20%;
}

#reg-steps ul li {
    float: left;
}

#reg-steps ul li a {
    display: block;
    padding: 20px;
    text-align: center;
    text-transform: uppercase;
}

#reg-steps li a.active {
    background:#C7C6CB;
    color: #fff;   
}

.round-number {
    padding: 10px 13px;
    margin-right: 3px;
    border: 1px solid #fff;
    border-radius: 90%;
}

span.active {
    border: 1px solid #fff;   
}

.steps-small {
    display: none;
}

/*----------REGISTRATION FORM STYLING----------*/
#registration-form {
    text-align: center;
}

#registration-form .form-sheet h1{
    padding-top: 40px;
    color: #E22029;
}

#registration-form .form-sheet h5 {
    padding-bottom: 20px;
}

#registration-form .data-form {
    padding: 0 100px;
    text-align: left;
}

#registration-form form {
    padding:0 25%;
}

#registration-form .data-form li {
    list-style-type: none; 
}

#registration-form .data-form .helptext {
    display: none;
}

#registration-form .errorlist {
    color: red;
}

#registration-form .data-form input {
    display: block;
    width: 100%;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid grey;
}

#registration-form .data-form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

#registration-form #id_birth_date_day,
#registration-form #id_birth_date_month,
#registration-form #id_birth_date_year {
    width: 33%;
}

#registration-form #id_birth_date_day,
#registration-form #id_birth_date_month {
    margin-right: 1px;
}

#registration-form .data-form select {
    width: 100%;
    padding: 5px;
    border-radius: 5px;
}

#registration-form .info-msg h3 {
    padding-bottom: 10px;
}

#registration-form .info-msg {
    text-align: center;
    padding: 20px 10px;
}

#registration-form .info-msg span {
    font-weight:bold;
}

/*----------REGISTRATION PASSWORD FORM STYLING----------*/
.psswd-form-btn {
    margin-top: 15px;
}

/*----------STRAVA ERROR STYLING----------*/
.error-card {
    margin: 5% 15%;
    padding: 30px 50px;
    height: 370px;
    background-color: #f4f2f0;
    text-align: center;
}

.error-card .error-msg {
    padding-bottom: 30px;
}

.error-card .error-msg ul {
    text-align: justify;
    padding: 0 40px;
}

.error-card i {
    padding-bottom: 20px;
    color: #cd0000;
}

.error-btn-1 { 
    float: left;
    padding-left: 20%;
}

.error-btn-2 {
    float: right;
    padding-right: 20%;
}

.error-btn-1 .btn {
    padding: 13px 40px;
    background-color: #979A91;
}

/*----------CONFIRM REGISTRATION STYLING----------*/
#confirmation-form {
    text-align: center;
}

#confirmation-form .form-sheet h1{
    padding-top: 40px;
    color:#E22029;
}

#confirmation-form .user-reg-info {
    padding: 5px 5%;
    margin: 0 20%;
    text-align: left;
    border-bottom: 2px solid #e4e4e4;
}

#confirmation-form .user-reg-info .edit-btn {
    text-align: center;
    padding: 10px 0;
}

#confirmation-form .submitLink {
    background-color: transparent;
    text-decoration: underline;
    font-size: 0.9rem;
    border: none;
    font-family: 'Lato', sans-serif;
    color: #333;
    cursor: pointer;
}

#confirmation-form .submitLink:focus {
    outline: none;
}

#confirmation-form .submitLink:hover {
    color: #E22029;
}

#confirmation-form .user-reg-strava {
    padding: 0 5%;
    margin: 0 20%;
    border-bottom: 2px solid #e4e4e4;
}

#confirmation-form .user-reg-strava h2 {
    padding-top: 40px;
}

#confirmation-form .strava-info {
    float: left;
    width: 65%;
    text-align: center;
    padding-left: 15%;
}

#confirmation-form .strava-links {
    padding-top: 10px;
}

#confirmation-form .strava-links a {
    text-decoration: underline;
}        

#confirmation-form .strava-links a:hover {
    color: #E22029;
}

#confirmation-form .strava-img {
    float: right;
    width: 35%;
    text-align: left;
}

#confirmation-form .strava-img img {
    width: 70%;
    height: auto;
    margin-bottom: 10px;
}

#confirmation-form .reg-btn-1 {
    padding-top: 5%;
    padding-left: 20%;
} 

#confirmation-form .reg-btn-2 {
    padding-top: 5%;
    padding-right: 20%;
}

/*----------USER PROFILE SIMPLE STYLING----------*/
#profile .container {
    min-height: 87vh;
}

#profile h1 {
    padding-bottom: 40px;
}

#profile .user-info {
    float: left;
    width: 35%;
    height: auto;
    padding: 5px 20px;
    color: #333;
    text-align: center;
}

#profile .user-info h2 {
    padding-bottom: 20px;
    line-height: 2rem;
}

#profile .user-info h2,
#profile .bib-number h2 {
    font-weight: 500;
}

#profile .bib-number h2 {
    font-size: 1.7rem;
}

#profile .user-info img {
    width: 50%;
    height: auto;
}

#profile a {
    text-decoration: underline;
}

#profile .strava-account a {
    font-size: 0.7rem;
    padding: 0 25%;
}

#profile .strava-account a:hover {
    color: #fc4c02;
}

#profile .user-info p {
    text-align: left;
    padding-left: 10%;
}

#profile .user-info i {
    padding-right: 10px;
    color: #E22029;
}

#profile .bib-number {
    float: right;
    width: 65%;
    text-align: center;
    border-left: 3px solid #e4e4e4;
    margin-bottom: 10px;
}

#profile .combo-info {
    background-color: #e4e4e459;
    margin-left: 22px;
    margin-right: 22px;
    padding: 10px;
}

#profile .combo-info i {
    padding: 0 5px;
}

#profile .combo-info p {
    padding: 5px 10px;
}

#profile .justify {
    text-align: justify;
}
#profile .combo-info ul {
    text-align: justify;
    margin-left: 8%;
}

#profile .bib-number img {
    width:98%; 
    height:auto;
}

#profile .bib-img {
    background-color: #E4E4E4;
    padding-top: 7px;
    margin: 0 3%;
}

#profile .download-bib {
    font-size: 0.8rem;
    padding-top: 10px;
    text-align: center;
}

#profile .download-bib a:hover {
    color: #E22029;
}

#profile h2,
#profile .activities-reg h2 {
    padding-top: 20px;
    font-size: 2rem;
    font-weight: 700;
}

#profile .activities-reg {
    padding-top: 20px;
    text-align: center;
}

.activities-reg table {
    padding: 20px;
}
.activities-reg th {
    text-align: center;
}

/*----------MEDAL PROFILE STYLING----------*/
.main-user-box{
    display: flex;
    flex-direction: row-reverse;
}

.user-box {
    width: 65%;
}

.user-box-2 {
    width: 35%;
    margin-bottom: 20px;
    border-right: 3px solid #e4e4e4;
}

.medal,
.finisher-medal {
    padding: 0 20px;
}

.medal {
    text-align: center;
}

.medal h2 {
    line-height: 1.2;
}

.user-box .medal  img {
    width: 95%;
    height: auto;
}

.user-box p {
    padding-bottom: 10px;
}

.user-activities th {
    text-align: center;
}

.user-info-2 {
    height: auto;
    padding: 5px 20px;
    color: #333;
    text-align: center;
}

.user-info-2 p {
    text-align: left;
    padding-left: 5%;
}

.user-info-2 i {
    padding-right: 10px; 
}

.finisher-medal,
.bib-number-small {
    text-align: center;
    margin-top: 10px;
}

.user-box-2 .finisher-medal img {
    width: 90%;
    height: auto;
}
.user-box-2 .bib-number-small {
    text-align: center;
    padding-top: 20px;
}

.user-box-2 .bib-number-small img {
    width: 95%;
    height: auto;
}

/*----------PASSWORD RECOVERY MAIN STYLING----------*/
.pswd-recovery {
    background-color: #E22029;
    height: 100vh;
}

.pswd-recovery .container {
    display: flex;
    justify-content: center;
}

.pswd-left {
    margin: 5% 0;
    padding-top: 9%;
    width: 50%;
    text-align: center;
    color: #E22029;
}

.pswd-left img {
    width:100%;
    height: auto;
    padding: 10%;
}

.pswd-title {
    padding: 15% 5% 0 5%;
    width: 50%;
    text-align: center;
}

.pswd-title h1 {
    padding-bottom: 20px;
}

.pswd-title p {
    font-weight: 300;
    padding: 5px 0;
    color: #fff;
}

.pswd-title .justify {
    text-align: justify;
}

.pswd-title button {
    margin-top: 20px;
    font-size: 1rem;
    padding: 5px 90px;
}

.pswd-title .btn {
    padding: 1.5% 19%;
}

.pswd-title li {
    list-style: none;
}

.pswd-title label {
    display: block;
    color: #fff;
}

.pswd-title form {
    color: #fff;
}

.pswd-title input {
    width: 60%;
    padding: 5px;
}

.pswd-recovery a {
    color: #fff;
}

.pswd-recovery a:hover {
    color: #ACABB3;
}

/*-----For New Password and Confirmation-----*/
.new-pswd {
    padding-top: 10%;
}

.pswd-title .btn-2 {
    padding: 1.5% 14%;
}

.new-pswd li {
    text-align: justify;
    font-weight: 300;
    font-size: 0.9rem;
    padding: 5px 0;
}

.new-pswd .errorlist {
    color: #d84339;
}

.new-pswd .errorlist li {
    text-align: center;
}

.new-pswd .helptext {
    display:none;
}

.new-pswd label{
    padding-top: 15px;
}

/*------For reset completed-----*/
.pswd-title .reset-completed {
    margin-top: 10px;
}

/*----------RESULTS DETAILS STYLING VISTAS SOLO ADMIN----------*/
.results-details {
    margin-top: 40px;
    font-size: 0.8rem;
}

.results-details th {
    border: 2px solid #e4e4e4;
    text-align: center;
}

.results-details td {
    border-bottom: 2px solid #e4e4e4;
    padding: 5px 10px;
}

.results-details a {
    text-decoration: underline;
    color: blue;
}

.km-tmp {
    text-align: right;
}

/*----------TEMPORARY VIEW STYLING----------*/
#temp-view {
    background-color: #f4f4f4;
    min-height: 100vh;

}

#temp-view .flex-items {
    display: flex;
    flex-wrap: wrap;
    margin: 0 2% 0 5%;
}

.art-view {
    width: 40%;
    height: auto;
    margin: 5% 0;
}

.art-view img {
    width: 100%;
}

.info-view {
    width: 60%;
    text-align: center;
    color: #36353D; 
}

.info-view h1 {
    padding-top: 35%; 
    padding-left: 13%;
    padding-right: 13%;
    font-size: 2.5rem;
    line-height: 3rem;
}

.info-view a, i {
    color: #D84339;
}

.info-view a {
    text-decoration: underline;
}


